rust/tests/ui/mod-subitem-as-enum-variant.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
351 B
Plaintext
Raw Normal View History

2022-06-01 23:55:30 +00:00
error[E0109]: type arguments are not allowed on module `Mod`
2019-04-22 16:30:54 +00:00
--> $DIR/mod-subitem-as-enum-variant.rs:7:11
|
LL | Mod::<i32>::FakeVariant(0);
2022-06-01 23:55:30 +00:00
| --- ^^^ type argument not allowed
| |
| not allowed on module `Mod`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0109`.