about summary refs log tree commit diff
path: root/src/test/ui/enum/enum-and-module-in-same-scope.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/enum/enum-and-module-in-same-scope.stderr')
-rw-r--r--src/test/ui/enum/enum-and-module-in-same-scope.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/enum/enum-and-module-in-same-scope.stderr b/src/test/ui/enum/enum-and-module-in-same-scope.stderr
index 5f42af8f260..538898c2f2a 100644
--- a/src/test/ui/enum/enum-and-module-in-same-scope.stderr
+++ b/src/test/ui/enum/enum-and-module-in-same-scope.stderr
@@ -4,7 +4,7 @@ error[E0428]: the name `Foo` is defined multiple times
 LL | enum Foo {
    | -------- previous definition of the type `Foo` here
 ...
-LL | mod Foo { //~ ERROR the name `Foo` is defined multiple times
+LL | mod Foo {
    | ^^^^^^^ `Foo` redefined here
    |
    = note: `Foo` must be defined only once in the type namespace of this module