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