]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/nested-tait-inference2.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / nested-tait-inference2.stderr
CommitLineData
ee023bcb
FG
1error[E0277]: the trait bound `(): Foo<FooX>` is not satisfied
2 --> $DIR/nested-tait-inference2.rs:13:13
94222f64
XL
3 |
4LL | fn foo() -> impl Foo<FooX> {
ee023bcb 5 | ^^^^^^^^^^^^^^ the trait `Foo<FooX>` is not implemented for `()`
94222f64
XL
6 |
7 = help: the following implementations were found:
8 <() as Foo<()>>
9 <() as Foo<u32>>
10
ee023bcb 11error: aborting due to previous error
94222f64
XL
12
13For more information about this error, try `rustc --explain E0277`.