]> git.lizzy.rs Git - rust.git/blob - tests/ui/never_type/impl_trait_fallback3.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / never_type / impl_trait_fallback3.stderr
1 error[E0277]: the trait bound `(): T` is not satisfied
2   --> $DIR/impl_trait_fallback3.rs:11:11
3    |
4 LL | fn a() -> Foo {
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`.