rust/src/test/ui/parser/lex-bad-binary-literal.stderr

57 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:4:8
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b121;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:5:12
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b10_10301;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:6:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b30;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:7:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b41;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:8:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b5;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:9:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b6;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:10:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b7;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:11:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b8;
2018-10-20 15:36:17 -05:00
| ^
error: invalid digit for a base 2 literal
2018-12-25 09:56:47 -06:00
--> $DIR/lex-bad-binary-literal.rs:12:7
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | 0b9;
2018-10-20 15:36:17 -05:00
| ^
error: aborting due to 9 previous errors