]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-enum-variants/resolve-to-enum-variant-in-type-namespace-and-error.stderr
Rollup merge of #107306 - compiler-errors:correct-sugg-for-closure-arg-needs-borrow...
[rust.git] / tests / ui / type-alias-enum-variants / resolve-to-enum-variant-in-type-namespace-and-error.stderr
1 error: expected type, found variant `V`
2   --> $DIR/resolve-to-enum-variant-in-type-namespace-and-error.rs:8:15
3    |
4 LL | fn check() -> <E>::V {}
5    |               ^^^^^^
6
7 error: aborting due to previous error
8