Skip to content

Commit 8f36d4a

Browse files
Update ui test with the add of E0726 explanation
1 parent 911de7b commit 8f36d4a

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

Diff for: src/test/ui/async-await/async-fn-path-elision.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ LL | async fn error(lt: HasLifetime) {
88

99
error: aborting due to previous error
1010

11+
For more information about this error, try `rustc --explain E0726`.

Diff for: src/test/ui/impl-header-lifetime-elision/path-elided.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ LL | impl MyTrait for Foo {
88

99
error: aborting due to previous error
1010

11+
For more information about this error, try `rustc --explain E0726`.

Diff for: src/test/ui/impl-header-lifetime-elision/trait-elided.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ LL | impl MyTrait for u32 {
88

99
error: aborting due to previous error
1010

11+
For more information about this error, try `rustc --explain E0726`.

Diff for: src/test/ui/issues/issue-10412.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ LL | trait Serializable<'self, T: ?Sized> {
6767

6868
error: aborting due to 9 previous errors
6969

70-
For more information about this error, try `rustc --explain E0277`.
70+
Some errors have detailed explanations: E0277, E0726.
71+
For more information about an error, try `rustc --explain E0277`.

Diff for: src/test/ui/wf/wf-in-foreign-fn-decls-issue-80468.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ LL | impl Trait for Ref {}
3030

3131
error: aborting due to 2 previous errors
3232

33+
For more information about this error, try `rustc --explain E0726`.

0 commit comments

Comments
 (0)