summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/integer-literal-start-ident.stderr
blob: b2c6612965608ed45307849ed034d9ce480ac0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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