Skip to content

Commit 01f5dd3

Browse files
committed
bless ui tests
1 parent 0c511ab commit 01f5dd3

5 files changed

+7
-2
lines changed

src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr

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

2222
error: aborting due to 2 previous errors; 1 warning emitted
2323

24+
For more information about this error, try `rustc --explain E0770`.

src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ LL | struct B<T, const N: T>(PhantomData<[T; N]>);
1515

1616
error: aborting due to 2 previous errors
1717

18-
For more information about this error, try `rustc --explain E0658`.
18+
Some errors have detailed explanations: E0658, E0770.
19+
For more information about an error, try `rustc --explain E0658`.

src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ LL | pub struct Dependent<T, const X: T>([(); X]);
2323

2424
error: aborting due to 2 previous errors; 1 warning emitted
2525

26-
For more information about this error, try `rustc --explain E0392`.
26+
Some errors have detailed explanations: E0392, E0770.
27+
For more information about an error, try `rustc --explain E0392`.

src/test/ui/const-generics/issues/issue-71381.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ LL | const FN: unsafe extern "C" fn(Args),
2424

2525
error: aborting due to 4 previous errors
2626

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

src/test/ui/const-generics/issues/issue-71611.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ LL | fn func<A, const F: fn(inner: A)>(outer: A) {
1212

1313
error: aborting due to 2 previous errors
1414

15+
For more information about this error, try `rustc --explain E0770`.

0 commit comments

Comments
 (0)