]> git.lizzy.rs Git - rust.git/blob - tests/ui/never_type/impl_trait_fallback4.stderr
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / never_type / impl_trait_fallback4.stderr
1 error[E0277]: the trait bound `(): T` is not satisfied
2   --> $DIR/impl_trait_fallback4.rs:13:13
3    |
4 LL | fn foo() -> impl T {
5    |             ^^^^^^ the trait `T` is not implemented for `()`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.