]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/type-alias-impl-trait-with-cycle-error2.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / type-alias-impl-trait-with-cycle-error2.stderr
1 error: unconstrained opaque type
2   --> $DIR/type-alias-impl-trait-with-cycle-error2.rs:7:12
3    |
4 LL | type Foo = impl Bar<Foo, Item = Foo>;
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `Foo` must be used in combination with a concrete type within the same module
8
9 error: aborting due to previous error
10