@@ -17,6 +17,21 @@ tests/actual_tests/rustc_ice.rs ... FAILED
17
17
FAILED TEST: tests/actual_tests/bad_pattern.rs
18
18
command: "rustc" "--error-format=json" "--extern" "basic_fail=$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug/libbasic_fail.rlib" "--extern" "basic_fail=$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug" "-L" "$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug" "--out-dir" "$TMP "tests/actual_tests/bad_pattern.rs" "--edition" "2021"
19
19
20
+ error: actual output differed from expected
21
+ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/bad_pattern.stderr` to the actual output
22
+ --- tests/actual_tests/bad_pattern.stderr
23
+ +++ <stderr output>
24
+ error[E0308]: mismatched types
25
+ --> tests/actual_tests/bad_pattern.rs:4:9
26
+ ... 10 lines skipped ...
27
+ | ^^^
28
+
29
+ -error: aborting due to previous error
30
+ +error: aborting due to 1 previous error
31
+
32
+ For more information about this error, try `rustc --explain E0308`.
33
+
34
+
20
35
error: `miesmätsched types` not found in diagnostics on line 4
21
36
--> tests/actual_tests/bad_pattern.rs:5:17
22
37
|
@@ -46,7 +61,7 @@ note: function defined here
46
61
1 | pub fn add(left: usize, right: usize) -> usize {
47
62
| ^^^
48
63
49
- error: aborting due to previous error
64
+ error: aborting due to 1 previous error
50
65
51
66
For more information about this error, try `rustc --explain E0308`.
52
67
@@ -88,7 +103,7 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/ex
88
103
+4 |
89
104
+ | ^
90
105
+
91
- +error: aborting due to previous error
106
+ +error: aborting due to 1 previous error
92
107
+
93
108
94
109
@@ -108,7 +123,7 @@ error: this file contains an unclosed delimiter
108
123
4 |
109
124
| ^
110
125
111
- error: aborting due to previous error
126
+ error: aborting due to 1 previous error
112
127
113
128
114
129
full stdout:
@@ -168,7 +183,7 @@ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/fo
168
183
+ | ^^^
169
184
170
185
-error: aborting doo to previous error
171
- +error: aborting due to previous error
186
+ +error: aborting due to 1 previous error
172
187
173
188
For more information about this error, try `rustc --explain E0308`.
174
189
@@ -188,7 +203,7 @@ note: function defined here
188
203
1 | pub fn add(left: usize, right: usize) -> usize {
189
204
| ^^^
190
205
191
- error: aborting due to previous error
206
+ error: aborting due to 1 previous error
192
207
193
208
For more information about this error, try `rustc --explain E0308`.
194
209
@@ -197,17 +212,41 @@ full stdout:
197
212
198
213
199
214
FAILED TEST: tests/actual_tests/foomp2.rs
200
- command: "$CMD "
215
+ command: "rustc" "--error-format=json" "--extern" "basic_fail=$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug/libbasic_fail.rlib" "--extern" "basic_fail=$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug" "-L" "$DIR/tests/integrations/basic-fail/../../../target/$TMP/$TRIPLE/debug" "--out-dir" "$TMP "tests/actual_tests/foomp2.rs" "--edition" "2021 "
201
216
202
217
error: actual output differed from expected
203
- Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/foomp2.fixed` to the actual output
204
- --- tests/actual_tests/foomp2.fixed
205
- +++ <fixed output>
206
- -this is just a test file showing that
207
- -stray .fixed files are detected and blessed away
218
+ Execute `DO NOT BLESS. These are meant to fail` to update `tests/actual_tests/foomp2.stderr` to the actual output
219
+ --- tests/actual_tests/foomp2.stderr
220
+ +++ <stderr output>
221
+ error[E0308]: mismatched types
222
+ --> tests/actual_tests/foomp2.rs:4:9
223
+ ... 10 lines skipped ...
224
+ | ^^^
225
+
226
+ -error: aborting due to previous error
227
+ +error: aborting due to 1 previous error
228
+
229
+ For more information about this error, try `rustc --explain E0308`.
208
230
209
231
210
232
full stderr:
233
+ error[E0308]: mismatched types
234
+ --> tests/actual_tests/foomp2.rs:4:9
235
+ |
236
+ 4 | add("42", 3);
237
+ | --- ^^^^ expected `usize`, found `&str`
238
+ | |
239
+ | arguments to this function are incorrect
240
+ |
241
+ note: function defined here
242
+ --> $DIR/tests/integrations/basic-fail/src/lib.rs:LL:CC
243
+ |
244
+ 1 | pub fn add(left: usize, right: usize) -> usize {
245
+ | ^^^
246
+
247
+ error: aborting due to 1 previous error
248
+
249
+ For more information about this error, try `rustc --explain E0308`.
211
250
212
251
full stdout:
213
252
@@ -375,7 +414,7 @@ error: expected one of `!` or `::`, found `<eof>`
375
414
7 | thing!(cake);
376
415
| ^^^^ expected one of `!` or `::`
377
416
378
- error: aborting due to previous error
417
+ error: aborting due to 1 previous error
379
418
380
419
381
420
full stdout:
@@ -627,7 +666,7 @@ error[E0601]: `main` function not found in crate `revisions_bad`
627
666
10 | }
628
667
| ^ consider adding a `main` function to `tests/actual_tests_bless/revisions_bad.rs`
629
668
630
- error: aborting due to previous error
669
+ error: aborting due to 1 previous error
631
670
632
671
For more information about this error, try `rustc --explain E0601`.
633
672
@@ -657,7 +696,7 @@ help: consider cloning the value if the performance cost is acceptable
657
696
11 | x.clone();
658
697
| ++++++++
659
698
660
- error: aborting due to previous error
699
+ error: aborting due to 1 previous error
661
700
662
701
For more information about this error, try `rustc --explain E0382`.
663
702
@@ -687,7 +726,7 @@ help: consider cloning the value if the performance cost is acceptable
687
726
11 | x.clone();
688
727
| ++++++++
689
728
690
- error: aborting due to previous error
729
+ error: aborting due to 1 previous error
691
730
692
731
For more information about this error, try `rustc --explain E0382`.
693
732
@@ -717,7 +756,7 @@ help: consider cloning the value if the performance cost is acceptable
717
756
10 | x.clone();
718
757
| ++++++++
719
758
720
- error: aborting due to previous error
759
+ error: aborting due to 1 previous error
721
760
722
761
For more information about this error, try `rustc --explain E0382`.
723
762
@@ -854,7 +893,7 @@ error[E0601]: `main` function not found in crate `revisions_bad`
854
893
10 | }
855
894
| ^ consider adding a `main` function to `tests/actual_tests_bless_yolo/revisions_bad.rs`
856
895
857
- error: aborting due to previous error
896
+ error: aborting due to 1 previous error
858
897
859
898
For more information about this error, try `rustc --explain E0601`.
860
899
0 commit comments