]> git.lizzy.rs Git - rust.git/blob - tests/ui/never_type/never-value-fallback-issue-66757.nofallback.stderr
Rollup merge of #107499 - compiler-errors:deduce_sig_from_projection-generator-tweak...
[rust.git] / tests / ui / never_type / never-value-fallback-issue-66757.nofallback.stderr
1 error[E0277]: the trait bound `E: From<()>` is not satisfied
2   --> $DIR/never-value-fallback-issue-66757.rs:28:26
3    |
4 LL |     <E as From<_>>::from(never);
5    |     -------------------- ^^^^^ the trait `From<()>` is not implemented for `E`
6    |     |
7    |     required by a bound introduced by this call
8    |
9    = help: the trait `From<!>` is implemented for `E`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0277`.