blob: 3d43fbe0dbccb0f13ad8ff6264e92f12c2e1a567 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: unconstrained opaque type
--> $DIR/type-alias-impl-trait-with-cycle-error.rs:3:12
|
LL | type Foo = impl Fn() -> Foo;
| ^^^^^^^^^^^^^^^^
|
= note: `Foo` must be used in combination with a concrete type within the same module
error: aborting due to 1 previous error
|