Skip to content

Commit df8246c

Browse files
committed
Bump stable compiler
1 parent 6a97ed6 commit df8246c

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

tests/integrations/basic-fail/Cargo.stdout

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,18 +358,26 @@ error: `mismatched types` not found in diagnostics on line 8
358358
|
359359

360360
error: there were 1 unmatched diagnostics
361-
--> tests/actual_tests/rustc_ice.rs:8:5
361+
--> tests/actual_tests/rustc_ice.rs:8:9
362362
|
363363
8 | add("42", 3);
364-
| ^^^^^^^^^^^^ Ice: no errors reported for args
364+
| ^^^^ Ice: mismatched types
365365
|
366366

367367
full stderr:
368-
error: internal compiler error: no errors reported for args
369-
--> tests/actual_tests/rustc_ice.rs:8:5
368+
error: internal compiler error[E0308]: mismatched types
369+
--> tests/actual_tests/rustc_ice.rs:8:9
370370
|
371371
8 | add("42", 3);
372-
| ^^^^^^^^^^^^
372+
| --- ^^^^ expected `usize`, found `&str`
373+
| |
374+
| arguments to this function are incorrect
375+
|
376+
note: function defined here
377+
--> $DIR/tests/integrations/basic-fail/src/lib.rs:LL:CC
378+
|
379+
1 | pub fn add(left: usize, right: usize) -> usize {
380+
| ^^^
373381

374382
thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:
375383
aborting due to `-Z treat-err-as-bug=1`
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
error: internal compiler error: no errors reported for args
2-
--> tests/actual_tests/rustc_ice.rs:8:5
1+
error: internal compiler error[E0308]: mismatched types
2+
--> tests/actual_tests/rustc_ice.rs:8:9
33
|
44
8 | add("42", 3);
5-
| ^^^^^^^^^^^^
5+
| --- ^^^^ expected `usize`, found `&str`
6+
| |
7+
| arguments to this function are incorrect
8+
|
9+
note: function defined here
10+
--> $DIR/tests/integrations/basic-fail/src/lib.rs:1:8
11+
|
12+
1 | pub fn add(left: usize, right: usize) -> usize {
13+
| ^^^
614

715
thread 'rustc' panicked

0 commit comments

Comments
 (0)