]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/type-alias-impl-trait-with-cycle-error.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / type-alias-impl-trait / type-alias-impl-trait-with-cycle-error.stderr
1 error: unconstrained opaque type
2   --> $DIR/type-alias-impl-trait-with-cycle-error.rs:3:12
3    |
4 LL | type Foo = impl Fn() -> 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