about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2018-11-30 15:42:57 +0000
committerAlexander Regueiro <alexreg@me.com>2018-11-30 15:42:57 +0000
commit24717fdaa106ffe1cea7826bdaa8377e0268a183 (patch)
tree2f51b21bfacfd9e8610df207eda9c103f1700c08 /src
parentd49a8d558f20a753b13c1c9f10c1f63775399f7d (diff)
downloadrust-24717fdaa106ffe1cea7826bdaa8377e0268a183.tar.gz
rust-24717fdaa106ffe1cea7826bdaa8377e0268a183.zip
Updated ui tests.
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/keyword/keyword-self-as-identifier.stderr5
-rw-r--r--src/test/ui/self/self_type_keyword-2.stderr2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/test/ui/keyword/keyword-self-as-identifier.stderr b/src/test/ui/keyword/keyword-self-as-identifier.stderr
index dbb106e8d53..c47f4aeabef 100644
--- a/src/test/ui/keyword/keyword-self-as-identifier.stderr
+++ b/src/test/ui/keyword/keyword-self-as-identifier.stderr
@@ -4,7 +4,6 @@ error[E0531]: cannot find unit struct/variant or constant `Self` in this scope
 LL |     let Self = 22; //~ ERROR cannot find unit struct/variant or constant `Self` in this scope
    |         ^^^^ not found in this scope
 
-error: aborting due to 1 previous error
+error: aborting due to previous error
 
-Some errors occurred: E0531, E0658.
-For more information about an error, try `rustc --explain E0531`.
+For more information about this error, try `rustc --explain E0531`.
diff --git a/src/test/ui/self/self_type_keyword-2.stderr b/src/test/ui/self/self_type_keyword-2.stderr
index 3a2e9bb9c9c..972e5bdddc6 100644
--- a/src/test/ui/self/self_type_keyword-2.stderr
+++ b/src/test/ui/self/self_type_keyword-2.stderr
@@ -24,5 +24,5 @@ LL |         Foo { x: Self } => (),
 
 error: aborting due to 4 previous errors
 
-Some errors occurred: E0432, E0531, E0658.
+Some errors occurred: E0432, E0531.
 For more information about an error, try `rustc --explain E0432`.