]> git.proxmox.com Git - rustc.git/blame - src/test/ui/never_type/never-value-fallback-issue-66757.nofallback.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / never_type / never-value-fallback-issue-66757.nofallback.stderr
CommitLineData
c295e0f8 1error[E0277]: the trait bound `E: From<()>` is not satisfied
f2b60f7d 2 --> $DIR/never-value-fallback-issue-66757.rs:28:26
c295e0f8
XL
3 |
4LL | <E as From<_>>::from(never);
f2b60f7d
FG
5 | -------------------- ^^^^^ the trait `From<()>` is not implemented for `E`
6 | |
7 | required by a bound introduced by this call
c295e0f8 8 |
04454e1e 9 = help: the trait `From<!>` is implemented for `E`
c295e0f8
XL
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0277`.