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

57 lines
1.5 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
|
LL | 0b121; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b10_10301; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b30; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b41; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b5; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b6; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b7; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b8; //~ ERROR invalid digit for a base 2 literal
| ^
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
|
LL | 0b9; //~ ERROR invalid digit for a base 2 literal
| ^
error: aborting due to 9 previous errors