]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mod-subitem-as-enum-variant.rs
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / mod-subitem-as-enum-variant.rs
index 9328d1a9045e57b4483d7cd1a5ce01e8f48217df..959024c46f4ffe601e9e52c22b822f65abe15dbc 100644 (file)
@@ -5,5 +5,5 @@ mod Mod {
 fn main() {
     Mod::FakeVariant::<i32>(0);
     Mod::<i32>::FakeVariant(0);
-    //~^ ERROR type arguments are not allowed for this type [E0109]
+    //~^ ERROR type arguments are not allowed on module `Mod` [E0109]
 }