]> git.lizzy.rs Git - rust.git/blob - tests/ui/mod-subitem-as-enum-variant.stderr
Rollup merge of #107091 - clubby789:infer-ftl-missing-dollar, r=compiler-errors
[rust.git] / tests / ui / mod-subitem-as-enum-variant.stderr
1 error[E0109]: type arguments are not allowed on module `Mod`
2   --> $DIR/mod-subitem-as-enum-variant.rs:7:11
3    |
4 LL |     Mod::<i32>::FakeVariant(0);
5    |     ---   ^^^ type argument not allowed
6    |     |
7    |     not allowed on module `Mod`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0109`.