]>
Commit | Line | Data |
---|---|---|
c295e0f8 | 1 | error[E0277]: the trait bound `E: From<()>` is not satisfied |
f2b60f7d | 2 | --> $DIR/never-value-fallback-issue-66757.rs:28:26 |
c295e0f8 XL |
3 | | |
4 | LL | <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 | |
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0277`. |