Skip to content

Commit b1d872b

Browse files
committed
Update tests
1 parent 910bf84 commit b1d872b

33 files changed

+68
-15
lines changed

src/test/ui-fulldeps/custom-derive/issue-36935.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ LL | #[derive(Foo, Bar)] //~ ERROR proc-macro derive panicked
66
|
77
= help: message: lolnope
88

9+
error: aborting due to previous error
10+

src/test/ui-fulldeps/proc-macro/load-panic.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ LL | #[derive(A)]
66
|
77
= help: message: nope!
88

9+
error: aborting due to previous error
10+

src/test/ui/codemap_tests/two_files.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ error[E0404]: expected trait, found type alias `Bar`
44
LL | impl Bar for Baz { } //~ ERROR expected trait, found type alias
55
| ^^^ type aliases cannot be used for traits
66

7-
error: cannot continue compilation due to previous error
7+
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0404`.

src/test/ui/cross-file-errors/main.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ LL | _
99
LL | underscore!();
1010
| -------------- in this macro invocation
1111

12+
error: aborting due to previous error
13+

src/test/ui/did_you_mean/recursion_limit_macro.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ LL | recurse!(0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9);
99
|
1010
= help: consider adding a `#![recursion_limit="20"]` attribute to your crate
1111

12+
error: aborting due to previous error
13+

src/test/ui/error-codes/E0404.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ error[E0404]: expected trait, found struct `Foo`
1010
LL | fn baz<T: Foo>(_: T) {} //~ ERROR E0404
1111
| ^^^ not a trait
1212

13-
error: cannot continue compilation due to previous error
13+
error: aborting due to 2 previous errors
1414

15+
For more information about this error, try `rustc --explain E0404`.

src/test/ui/error-codes/E0405.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ error[E0405]: cannot find trait `SomeTrait` in this scope
44
LL | impl SomeTrait for Foo {} //~ ERROR E0405
55
| ^^^^^^^^^ not found in this scope
66

7-
error: cannot continue compilation due to previous error
7+
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0405`.

src/test/ui/feature-gate-fn_must_use-cap-lints-allow.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ error: compilation successful
44
LL | fn main() {} //~ ERROR compilation successful
55
| ^^^^^^^^^^^^
66

7+
error: aborting due to previous error
8+

src/test/ui/feature-gate-fn_must_use.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ error: compilation successful
2020
LL | fn main() {} //~ ERROR compilation successful
2121
| ^^^^^^^^^^^^
2222

23+
error: aborting due to previous error
24+

src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -1316,3 +1316,5 @@ LL | | println!("Hello World");
13161316
LL | | }
13171317
| |_^
13181318

1319+
error: aborting due to previous error
1320+

src/test/ui/feature-gate/issue-43106-gating-of-deprecated.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ LL | | println!("Hello World");
66
LL | | }
77
| |_^
88

9+
error: aborting due to previous error
10+

src/test/ui/impl-trait/universal_wrong_bounds.stderr

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ help: possible candidate is found in another module, you can import it into scop
2424
LL | use std::fmt::Debug;
2525
|
2626

27-
error: cannot continue compilation due to previous error
27+
error: aborting due to 3 previous errors
2828

29+
Some errors occurred: E0405, E0425.
30+
For more information about an error, try `rustc --explain E0405`.

src/test/ui/issue-22644.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ error: expected type, found `4`
8989
LL | println!("{}", a: &mut 4); //~ ERROR expected type, found `4`
9090
| ^ expecting a type here because of type ascription
9191

92+
error: aborting due to 9 previous errors
93+

src/test/ui/issue-44406.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ LL | bar(baz: $rest)
1313
LL | foo!(true); //~ ERROR expected type, found keyword
1414
| ^^^^ expecting a type here because of type ascription
1515

16+
error: aborting due to 2 previous errors
17+

src/test/ui/lint-output-format-2.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ LL | | let _y = bar();
2222
LL | | }
2323
| |_^
2424

25+
error: aborting due to previous error
26+

src/test/ui/loops-reject-duplicate-labels-2.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ LL | | foo();
7070
LL | | }
7171
| |_^
7272

73+
error: aborting due to previous error
74+

src/test/ui/loops-reject-duplicate-labels.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,5 @@ LL | | foo();
7373
LL | | }
7474
| |_^
7575

76+
error: aborting due to previous error
77+

src/test/ui/loops-reject-labels-shadowing-lifetimes.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ LL | | foo();
108108
LL | | }
109109
| |_^
110110

111+
error: aborting due to previous error
112+

src/test/ui/loops-reject-lifetime-shadowing-label.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ LL | | foo();
1414
LL | | }
1515
| |_^
1616

17+
error: aborting due to previous error
18+

src/test/ui/macro-context.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ LL | () => ( i ; typeof ); //~ ERROR expected expression, found reserved k
4343
LL | m!();
4444
| ----- in this macro invocation
4545

46+
error: aborting due to 4 previous errors
47+

src/test/ui/macros/macro_path_as_generic_bound.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ error[E0433]: failed to resolve. Use of undeclared type or module `m`
44
LL | foo!(m::m2::A); //~ ERROR failed to resolve
55
| ^ Use of undeclared type or module `m`
66

7-
error: cannot continue compilation due to previous error
7+
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0433`.

src/test/ui/macros/trace_faulty_macros.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ LL | my_recursive_macro!();
4545
= note: expanding `my_recursive_macro! { }`
4646
= note: to `my_recursive_macro ! ( ) ;`
4747

48+
error: aborting due to 2 previous errors
49+

src/test/ui/raw_string.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ LL | let x = r##"lol"#;
66
|
77
= note: this raw string should be terminated with `"##`
88

9+
error: aborting due to previous error
10+

src/test/ui/resolve/issue-21221-1.stderr

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@ help: possible candidate is found in another module, you can import it into scop
4545
LL | use std::ops::Div;
4646
|
4747

48-
error: cannot continue compilation due to previous error
48+
error: aborting due to 4 previous errors
4949

50+
Some errors occurred: E0405, E0412.
51+
For more information about an error, try `rustc --explain E0405`.

src/test/ui/resolve/issue-21221-2.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ help: possible candidate is found in another module, you can import it into scop
88
LL | use foo::bar::T;
99
|
1010

11-
error: cannot continue compilation due to previous error
11+
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0405`.

src/test/ui/resolve/issue-21221-3.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ help: possible candidate is found in another module, you can import it into scop
88
LL | use issue_21221_3::outer::OuterTrait;
99
|
1010

11-
error: cannot continue compilation due to previous error
11+
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0405`.

src/test/ui/resolve/issue-21221-4.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ help: possible candidate is found in another module, you can import it into scop
88
LL | use issue_21221_4::T;
99
|
1010

11-
error: cannot continue compilation due to previous error
11+
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0405`.

src/test/ui/resolve/issue-3907.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ help: possible better candidate is found in another module, you can import it in
88
LL | use issue_3907::Foo;
99
|
1010

11-
error: cannot continue compilation due to previous error
11+
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0404`.

src/test/ui/resolve/issue-5035.stderr

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ LL | impl K for isize {} //~ ERROR expected trait, found type alias `K`
1313
| did you mean `I`?
1414
| type aliases cannot be used for traits
1515

16-
error: cannot continue compilation due to previous error
16+
error: aborting due to 2 previous errors
1717

18+
Some errors occurred: E0404, E0432.
19+
For more information about an error, try `rustc --explain E0404`.

src/test/ui/resolve/unboxed-closure-sugar-nonexistent-trait.stderr

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ error[E0404]: expected trait, found type alias `Typedef`
1010
LL | fn g<F:Typedef(isize) -> isize>(x: F) {}
1111
| ^^^^^^^^^^^^^^^^^^^^^^^ type aliases cannot be used for traits
1212

13-
error: cannot continue compilation due to previous error
13+
error: aborting due to 2 previous errors
1414

15+
Some errors occurred: E0404, E0405.
16+
For more information about an error, try `rustc --explain E0404`.
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
error: cannot continue compilation due to previous error
2-

src/test/ui/span/issue-24690.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ LL | | println!("{}", theTwo);
3636
LL | | }
3737
| |_^
3838

39+
error: aborting due to previous error
40+

src/test/ui/span/issue-35987.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ help: possible better candidate is found in another module, you can import it in
88
LL | use std::ops::Add;
99
|
1010

11-
error: cannot continue compilation due to previous error
11+
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0404`.

0 commit comments

Comments
 (0)