about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-16 11:40:26 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-16 11:40:26 +0200
commit01f5dd374cb1762d722ed3537779377a74774cf1 (patch)
tree56860ce6c3c54392b970e79845f8ba12cc4a37a8 /src
parent0c511ab5c7fae69635ea4f296a1ffae25a22b0f0 (diff)
downloadrust-01f5dd374cb1762d722ed3537779377a74774cf1.tar.gz
rust-01f5dd374cb1762d722ed3537779377a74774cf1.zip
bless ui tests
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr1
-rw-r--r--src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr3
-rw-r--r--src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr3
-rw-r--r--src/test/ui/const-generics/issues/issue-71381.stderr1
-rw-r--r--src/test/ui/const-generics/issues/issue-71611.stderr1
5 files changed, 7 insertions, 2 deletions
diff --git a/src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr b/src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr
index ece31b5fab2..f6606aea726 100644
--- a/src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr
+++ b/src/test/ui/const-generics/const-param-type-depends-on-const-param.stderr
@@ -21,3 +21,4 @@ LL | #![feature(const_generics)]
 
 error: aborting due to 2 previous errors; 1 warning emitted
 
+For more information about this error, try `rustc --explain E0770`.
diff --git a/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr b/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
index 7a2ee689c33..35996e83361 100644
--- a/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
+++ b/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
@@ -15,4 +15,5 @@ LL | struct B<T, const N: T>(PhantomData<[T; N]>);
 
 error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0658`.
+Some errors have detailed explanations: E0658, E0770.
+For more information about an error, try `rustc --explain E0658`.
diff --git a/src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr b/src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr
index fa566b5536f..d081dcbbc7a 100644
--- a/src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr
+++ b/src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr
@@ -23,4 +23,5 @@ LL | pub struct Dependent<T, const X: T>([(); X]);
 
 error: aborting due to 2 previous errors; 1 warning emitted
 
-For more information about this error, try `rustc --explain E0392`.
+Some errors have detailed explanations: E0392, E0770.
+For more information about an error, try `rustc --explain E0392`.
diff --git a/src/test/ui/const-generics/issues/issue-71381.stderr b/src/test/ui/const-generics/issues/issue-71381.stderr
index fe6d5125223..fd4ebe3dead 100644
--- a/src/test/ui/const-generics/issues/issue-71381.stderr
+++ b/src/test/ui/const-generics/issues/issue-71381.stderr
@@ -24,3 +24,4 @@ LL |         const FN: unsafe extern "C" fn(Args),
 
 error: aborting due to 4 previous errors
 
+For more information about this error, try `rustc --explain E0770`.
diff --git a/src/test/ui/const-generics/issues/issue-71611.stderr b/src/test/ui/const-generics/issues/issue-71611.stderr
index a8363cdff78..e2c9f22361e 100644
--- a/src/test/ui/const-generics/issues/issue-71611.stderr
+++ b/src/test/ui/const-generics/issues/issue-71611.stderr
@@ -12,3 +12,4 @@ LL | fn func<A, const F: fn(inner: A)>(outer: A) {
 
 error: aborting due to 2 previous errors
 
+For more information about this error, try `rustc --explain E0770`.