Skip to content

Commit 24717fd

Browse files
author
Alexander Regueiro
committed
Updated ui tests.
1 parent d49a8d5 commit 24717fd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/test/ui/keyword/keyword-self-as-identifier.stderr

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ error[E0531]: cannot find unit struct/variant or constant `Self` in this scope
44
LL | let Self = 22; //~ ERROR cannot find unit struct/variant or constant `Self` in this scope
55
| ^^^^ not found in this scope
66

7-
error: aborting due to 1 previous error
7+
error: aborting due to previous error
88

9-
Some errors occurred: E0531, E0658.
10-
For more information about an error, try `rustc --explain E0531`.
9+
For more information about this error, try `rustc --explain E0531`.

src/test/ui/self/self_type_keyword-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ LL | Foo { x: Self } => (),
2424

2525
error: aborting due to 4 previous errors
2626

27-
Some errors occurred: E0432, E0531, E0658.
27+
Some errors occurred: E0432, E0531.
2828
For more information about an error, try `rustc --explain E0432`.

0 commit comments

Comments
 (0)