From 01f5dd374cb1762d722ed3537779377a74774cf1 Mon Sep 17 00:00:00 2001 From: Bastian Kauschke Date: Thu, 16 Jul 2020 11:40:26 +0200 Subject: [PATCH] bless ui tests --- .../const-param-type-depends-on-const-param.stderr | 1 + .../const-param-type-depends-on-type-param-ungated.stderr | 3 ++- .../const-param-type-depends-on-type-param.stderr | 3 ++- src/test/ui/const-generics/issues/issue-71381.stderr | 1 + src/test/ui/const-generics/issues/issue-71611.stderr | 1 + 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(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([(); 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(outer: A) { error: aborting due to 2 previous errors +For more information about this error, try `rustc --explain E0770`. -- 2.44.0