rust/tests/ui/parser/utf16-le-without-bom.stderr

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

118 lines
3.9 KiB
Plaintext
Raw Normal View History

2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:2
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
2021-02-07 15:05:43 +00:00
| ^
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:4
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:6
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:8
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:10
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:12
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:14
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:16
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:18
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:20
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:22
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:24
2021-02-07 15:05:43 +00:00
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
| ^
2021-02-07 15:05:43 +00:00
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: unknown start of token: \u{0}
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:6:1
2021-02-07 15:05:43 +00:00
|
LL | ␀
2021-02-07 15:05:43 +00:00
| ^
|
2021-02-07 16:11:38 +00:00
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2021-02-07 15:05:43 +00:00
error: expected one of `!` or `::`, found `n`
2024-10-30 23:47:47 +00:00
--> $DIR/utf16-le-without-bom.rs:5:3
2021-02-07 15:05:43 +00: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 15:05:43 +00:00
error: aborting due to 14 previous errors