rust/tests/ui/parser/integer-literal-start-ident.stderr

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

15 lines
316 B
Plaintext
Raw Normal View History

error: expected identifier, found `1main`
--> $DIR/integer-literal-start-ident.rs:1:4
|
LL | fn 1main() {}
| ^^^^^ expected identifier
|
help: identifiers cannot start with a number
--> $DIR/integer-literal-start-ident.rs:1:4
|
LL | fn 1main() {}
| ^
error: aborting due to previous error