summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/type-alias-impl-trait-with-cycle-error2.stderr
blob: 3f3699ce5324aa984087c42f8fa103870ff25113 (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained opaque type
  --> $DIR/type-alias-impl-trait-with-cycle-error2.rs:7:12
   |
LL | type Foo = impl Bar<Foo, Item = Foo>;
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `Foo` must be used in combination with a concrete type within the same module

error: aborting due to previous error