@@ -38,6 +38,25 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/ba
38
38
39
39
For more information about this error, try `rustc --explain E0308`.
40
40
41
+ Full unnormalized output:
42
+ error[E0308]: mismatched types
43
+ --> tests/actual_tests/bad_pattern.rs:4:9
44
+ |
45
+ 4 | add("42", 3);
46
+ | --- ^^^^ expected `usize`, found `&str`
47
+ | |
48
+ | arguments to this function are incorrect
49
+ |
50
+ note: function defined here
51
+ --> $DIR/tests/integrations/basic-fail/src/lib.rs:LL:CC
52
+ |
53
+ 1 | pub fn add(left: usize, right: usize) -> usize {
54
+ | ^^^
55
+
56
+ error: aborting due to 1 previous error
57
+
58
+ For more information about this error, try `rustc --explain E0308`.
59
+
41
60
42
61
error: `miesmätsched types` not found in diagnostics on line 4
43
62
--> tests/actual_tests/bad_pattern.rs:5:17
@@ -86,6 +105,9 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/ex
86
105
-69
87
106
+42
88
107
108
+ Full unnormalized output:
109
+ 42
110
+
89
111
90
112
full stderr:
91
113
@@ -193,6 +215,25 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/fo
193
215
194
216
For more information about this error, try `rustc --explain E0308`.
195
217
218
+ Full unnormalized output:
219
+ error[E0308]: mismatched types
220
+ --> tests/actual_tests/foomp.rs:4:9
221
+ |
222
+ 4 | add("42", 3);
223
+ | --- ^^^^ expected `usize`, found `&str`
224
+ | |
225
+ | arguments to this function are incorrect
226
+ |
227
+ note: function defined here
228
+ --> $DIR/tests/integrations/basic-fail/src/lib.rs:LL:CC
229
+ |
230
+ 1 | pub fn add(left: usize, right: usize) -> usize {
231
+ | ^^^
232
+
233
+ error: aborting due to 1 previous error
234
+
235
+ For more information about this error, try `rustc --explain E0308`.
236
+
196
237
197
238
full stderr:
198
239
error[E0308]: mismatched types
@@ -234,6 +275,25 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/fo
234
275
235
276
For more information about this error, try `rustc --explain E0308`.
236
277
278
+ Full unnormalized output:
279
+ error[E0308]: mismatched types
280
+ --> tests/actual_tests/foomp2.rs:4:9
281
+ |
282
+ 4 | add("42", 3);
283
+ | --- ^^^^ expected `usize`, found `&str`
284
+ | |
285
+ | arguments to this function are incorrect
286
+ |
287
+ note: function defined here
288
+ --> $DIR/tests/integrations/basic-fail/src/lib.rs:LL:CC
289
+ |
290
+ 1 | pub fn add(left: usize, right: usize) -> usize {
291
+ | ^^^
292
+
293
+ error: aborting due to 1 previous error
294
+
295
+ For more information about this error, try `rustc --explain E0308`.
296
+
237
297
238
298
full stderr:
239
299
error[E0308]: mismatched types
@@ -1179,6 +1239,17 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/ba
1179
1239
-For more information about this error, try `rustc --explain E0308`.
1180
1240
+For more information about this error, try `rustc --explain E0432`.
1181
1241
1242
+ Full unnormalized output:
1243
+ error[E0432]: unresolved import `basic_fail`
1244
+ --> tests/actual_tests/bad_pattern.rs:1:5
1245
+ |
1246
+ 1 | use basic_fail::add;
1247
+ | ^^^^^^^^^^ use of undeclared crate or module `basic_fail`
1248
+
1249
+ error: aborting due to 1 previous error
1250
+
1251
+ For more information about this error, try `rustc --explain E0432`.
1252
+
1182
1253
1183
1254
error: `miesmätsched types` not found in diagnostics on line 4
1184
1255
--> tests/actual_tests/bad_pattern.rs:5:17
@@ -1289,6 +1360,17 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/fo
1289
1360
-For more information about this error, try `rustc --explain E0308`.
1290
1361
+For more information about this error, try `rustc --explain E0432`.
1291
1362
1363
+ Full unnormalized output:
1364
+ error[E0432]: unresolved import `basic_fail`
1365
+ --> tests/actual_tests/foomp.rs:1:5
1366
+ |
1367
+ 1 | use basic_fail::add;
1368
+ | ^^^^^^^^^^ use of undeclared crate or module `basic_fail`
1369
+
1370
+ error: aborting due to 1 previous error
1371
+
1372
+ For more information about this error, try `rustc --explain E0432`.
1373
+
1292
1374
1293
1375
error: `mismatched types` not found in diagnostics on line 4
1294
1376
--> tests/actual_tests/foomp.rs:5:17
@@ -1328,6 +1410,17 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/fo
1328
1410
-For more information about this error, try `rustc --explain E0308`.
1329
1411
+For more information about this error, try `rustc --explain E0432`.
1330
1412
1413
+ Full unnormalized output:
1414
+ error[E0432]: unresolved import `basic_fail`
1415
+ --> tests/actual_tests/foomp2.rs:1:5
1416
+ |
1417
+ 1 | use basic_fail::add;
1418
+ | ^^^^^^^^^^ use of undeclared crate or module `basic_fail`
1419
+
1420
+ error: aborting due to 1 previous error
1421
+
1422
+ For more information about this error, try `rustc --explain E0432`.
1423
+
1331
1424
1332
1425
error: `mismatched types` not found in diagnostics on line 4
1333
1426
--> tests/actual_tests/foomp2.rs:5:17
@@ -1428,6 +1521,29 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/ru
1428
1521
1429
1522
thread 'rustc' panicked
1430
1523
1524
+ Full unnormalized output:
1525
+ error: internal compiler error[E0432]: unresolved import `basic_fail`
1526
+ --> tests/actual_tests/rustc_ice.rs:5:5
1527
+ |
1528
+ 5 | use basic_fail::add;
1529
+ | ^^^^^^^^^^ use of undeclared crate or module `basic_fail`
1530
+
1531
+ thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:
1532
+ aborting due to `-Z treat-err-as-bug=1`
1533
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1534
+
1535
+ error: the compiler unexpectedly panicked. this is a bug.
1536
+
1537
+ note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
1538
+
1539
+
1540
+
1541
+ note: compiler flags: -Z treat-err-as-bug
1542
+
1543
+ query stack during panic:
1544
+ #0 [resolver_for_lowering_raw] getting the resolver for lowering
1545
+ end of query stack
1546
+
1431
1547
1432
1548
error: `mismatched types` not found in diagnostics on line 8
1433
1549
--> tests/actual_tests/rustc_ice.rs:9:17
0 commit comments