]> git.lizzy.rs Git - rust.git/blob - src/test/ui/never_type/never-value-fallback-issue-66757.nofallback.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / 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:5
3    |
4 LL |     <E as From<_>>::from(never);
5    |     ^^^^^^^^^^^^^^^^^^^^ the trait `From<()>` is not implemented for `E`
6    |
7    = help: the trait `From<!>` is implemented for `E`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.