rust/tests/ui/lexer/lex-bad-octal-literal.stderr

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

15 lines
290 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: invalid digit for a base 8 literal
2019-05-31 20:50:04 +00:00
--> $DIR/lex-bad-octal-literal.rs:2:8
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | 0o18;
2018-10-20 20:36:17 +00:00
| ^
error: invalid digit for a base 8 literal
2019-05-31 20:50:04 +00:00
--> $DIR/lex-bad-octal-literal.rs:3:12
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | 0o1234_9_5670;
2018-10-20 20:36:17 +00:00
| ^
error: aborting due to 2 previous errors