Skip to content

Commit 2fd3811

Browse files
update ui tests
1 parent 33b89a3 commit 2fd3811

6 files changed

+9
-4
lines changed

src/test/ui/enums-pats-not-idents.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ LL | let a(1) = 13;
66

77
error: aborting due to previous error
88

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

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ LL | x(1) => x(1)
1212

1313
error: aborting due to 2 previous errors
1414

15-
For more information about this error, try `rustc --explain E0425`.
15+
Some errors have detailed explanations: E0425, E0531.
16+
For more information about an error, try `rustc --explain E0425`.

src/test/ui/keyword/keyword-self-as-identifier.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ LL | let Self = 22;
66

77
error: aborting due to previous error
88

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

src/test/ui/resolve/resolve-assoc-suggestions.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ LL | method;
5454

5555
error: aborting due to 9 previous errors
5656

57-
Some errors have detailed explanations: E0412, E0425.
57+
Some errors have detailed explanations: E0412, E0425, E0531.
5858
For more information about an error, try `rustc --explain E0412`.

src/test/ui/self/self_type_keyword-2.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ LL | Foo { x: Self } => (),
2424

2525
error: aborting due to 4 previous errors
2626

27-
For more information about this error, try `rustc --explain E0432`.
27+
Some errors have detailed explanations: E0432, E0531.
28+
For more information about an error, try `rustc --explain E0432`.

src/test/ui/self/self_type_keyword.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,5 @@ LL | struct Bar<'Self>;
8080

8181
error: aborting due to 12 previous errors
8282

83-
For more information about this error, try `rustc --explain E0392`.
83+
Some errors have detailed explanations: E0392, E0531.
84+
For more information about an error, try `rustc --explain E0392`.

0 commit comments

Comments
 (0)