Skip to content

Commit

Permalink
Update UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 3, 2020
1 parent d64a4b5 commit 6970c92
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/test/ui/parser/issue-1802-1.stderr
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/issue-1802-1.rs:5:16
|
LL | log(error, 0b);
| ^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0768`.
3 changes: 2 additions & 1 deletion src/test/ui/parser/issue-1802-2.stderr
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/issue-1802-2.rs:5:16
|
LL | log(error, 0b);
| ^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0768`.
13 changes: 7 additions & 6 deletions src/test/ui/parser/lex-bad-numeric-literals.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ error: hexadecimal float literal is not supported
LL | 0x9.0e-9;
| ^^^^^^^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:11:5
|
LL | 0o;
Expand All @@ -64,31 +64,31 @@ error: hexadecimal float literal is not supported
LL | 0x539.0;
| ^^^^^^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:18:5
|
LL | 0x;
| ^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:19:5
|
LL | 0xu32;
| ^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:20:5
|
LL | 0ou32;
| ^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:21:5
|
LL | 0bu32;
| ^^

error: no valid digits found for number
error[E0768]: no valid digits found for number
--> $DIR/lex-bad-numeric-literals.rs:22:5
|
LL | 0b;
Expand Down Expand Up @@ -138,3 +138,4 @@ LL | 0b101f64;

error: aborting due to 23 previous errors

For more information about this error, try `rustc --explain E0768`.

0 comments on commit 6970c92

Please sign in to comment.