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

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

57 lines
1.1 KiB
Plaintext
Raw Normal View History

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