Skip to content

Commit 7d357fb

Browse files
update ui tests
1 parent e5d566c commit 7d357fb

12 files changed

+13
-4
lines changed

src/test/ui/const-generics/struct-with-invalid-const-param.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ LL | #![feature(const_generics)]
1414

1515
error: aborting due to previous error
1616

17+
For more information about this error, try `rustc --explain E0573`.

src/test/ui/enum/enum-variant-type-2.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ LL | fn foo(x: Foo::Bar) {}
99

1010
error: aborting due to previous error
1111

12+
For more information about this error, try `rustc --explain E0573`.

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

+1
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ LL | fn newer() -> Result<foo::MyEnum, String> {
6262

6363
error: aborting due to 4 previous errors
6464

65+
For more information about this error, try `rustc --explain E0573`.

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

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ LL | impl foo {}
1818

1919
error: aborting due to 3 previous errors
2020

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ LL | _: foo::Foo::FooV
99

1010
error: aborting due to previous error
1111

12+
For more information about this error, try `rustc --explain E0573`.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ LL | fn qux() -> Some {
6767

6868
error: aborting due to 7 previous errors
6969

70-
Some errors have detailed explanations: E0412, E0425.
70+
Some errors have detailed explanations: E0412, E0425, E0573.
7171
For more information about an error, try `rustc --explain E0412`.

src/test/ui/privacy/privacy-ns1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ LL | use foo3::Bar;
7272

7373
error: aborting due to 4 previous errors
7474

75-
Some errors have detailed explanations: E0412, E0423, E0425.
75+
Some errors have detailed explanations: E0412, E0423, E0425, E0573.
7676
For more information about an error, try `rustc --explain E0412`.

src/test/ui/privacy/privacy-ns2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ LL | use foo3::{Bar,Baz};
8282

8383
error: aborting due to 7 previous errors
8484

85-
Some errors have detailed explanations: E0423, E0603.
85+
Some errors have detailed explanations: E0423, E0573, E0603.
8686
For more information about an error, try `rustc --explain E0423`.

src/test/ui/tool-attributes/tool-attributes-misplaced-1.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ LL | rustfmt::skip;
4242

4343
error: aborting due to 7 previous errors
4444

45-
For more information about this error, try `rustc --explain E0423`.
45+
Some errors have detailed explanations: E0423, E0573.
46+
For more information about an error, try `rustc --explain E0423`.

src/test/ui/traits/trait-impl-for-module.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ LL | impl A for a {
66

77
error: aborting due to previous error
88

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

src/test/ui/type/type-ascription-with-fn-call.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ LL | f();
1111

1212
error: aborting due to previous error
1313

14+
For more information about this error, try `rustc --explain E0573`.

src/test/ui/variants/variant-used-as-type.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ LL | impl Ty {}
2424

2525
error: aborting due to 2 previous errors
2626

27+
For more information about this error, try `rustc --explain E0573`.

0 commit comments

Comments
 (0)