os-rust/tests/ui/parser/utf16-be-without-bom.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

118 lines
4 KiB
Text
Raw Permalink Normal View History

2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:1
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
2021-02-07 10:05:43 -05:00
| ^
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:3
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:5
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:7
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:9
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:11
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:13
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:15
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:17
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:19
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:21
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:23
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:25
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 10:05:43 -05:00
|
2021-02-07 11:11:38 -05:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 10:05:43 -05:00
error: expected one of `!` or `::`, found `n`
2024-10-30 16:47:47 -07:00
--> $DIR/utf16-be-without-bom.rs:5:4
2021-02-07 10:05:43 -05:00
|
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^ expected one of `!` or `::`
|
help: consider removing the space to spell keyword `fn`
|
LL | ␀fn␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ~~
2021-02-07 10:05:43 -05:00
error: aborting due to 14 previous errors