mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00

``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
119 lines
4.0 KiB
Plaintext
119 lines
4.0 KiB
Plaintext
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:2
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:4
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:6
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:8
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:10
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:12
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:14
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:16
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:18
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:20
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:22
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:5:24
|
|
|
|
|
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: unknown start of token: \u{0}
|
|
--> $DIR/utf16-le-without-bom.rs:6:1
|
|
|
|
|
LL | ␀
|
|
| ^
|
|
|
|
|
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
|
|
|
|
error: expected one of `!` or `::`, found `n`
|
|
--> $DIR/utf16-le-without-bom.rs:5:3
|
|
|
|
|
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␀(␀)␀ ␀{␀}␀
|
|
|
|
|
|
|
error: aborting due to 14 previous errors
|
|
|