Files
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.

119 lines
4.1 KiB
Plaintext
Raw Normal View History

2021-02-07 10:05:43 -05:00
error: unknown start of token: \u{0}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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}
--> $DIR/utf16-be-without-bom.rs:6: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`
--> $DIR/utf16-be-without-bom.rs:6: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 - ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
LL + ␀fn␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
2021-02-07 10:05:43 -05:00
error: aborting due to 14 previous errors