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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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+

0 commit comments

Comments
 (0)