Skip to content

Commit 96efaad

Browse files
update ui tests
1 parent 28b0e1d commit 96efaad

File tree

44 files changed

+48
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+48
-7
lines changed

src/test/ui/associated-types/cache/project-fn-ret-contravariant.transmute.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ LL | bar(foo, x)
2323

2424
error: aborting due to previous error
2525

26+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/associated-types/cache/project-fn-ret-invariant.transmute.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ LL | fn baz<'a,'b>(x: Type<'a>) -> Type<'static> {
1919

2020
error: aborting due to previous error
2121

22+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/c-variadic/variadic-ffi-4.stderr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,5 @@ LL | | }
209209

210210
error: aborting due to 8 previous errors
211211

212-
For more information about this error, try `rustc --explain E0308`.
212+
Some errors have detailed explanations: E0308, E0495.
213+
For more information about an error, try `rustc --explain E0308`.

src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ LL | invoke(&x, |a, b| if a > b { a } else { b });
2727

2828
error: aborting due to previous error
2929

30+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/impl-header-lifetime-elision/dyn-trait.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ LL | fn with_dyn_debug_static<'a>(x: Box<dyn Debug + 'a>) {
1919

2020
error: aborting due to previous error
2121

22+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ LL | | }
1818

1919
error: aborting due to previous error
2020

21+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/in-band-lifetimes/mismatched_trait_impl.nll.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ LL | fn foo(&self, x: &u32, y: &'a u32) -> &'a u32 {
2222

2323
error: aborting due to previous error
2424

25+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ LL | x
3232

3333
error: aborting due to 2 previous errors
3434

35+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/issues/issue-16683.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ LL | trait T<'a> {
2727

2828
error: aborting due to previous error
2929

30+
For more information about this error, try `rustc --explain E0495`.

src/test/ui/issues/issue-17758.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ LL | trait Foo<'a> {
2828

2929
error: aborting due to previous error
3030

31+
For more information about this error, try `rustc --explain E0495`.

0 commit comments

Comments
 (0)