summaryrefslogtreecommitdiffstats
path: root/tests/ui/never_type/never-value-fallback-issue-66757.nofallback.stderr
blob: f5249814c785c98aa526244598e281076840b4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0277]: the trait bound `E: From<()>` is not satisfied
  --> $DIR/never-value-fallback-issue-66757.rs:28:6
   |
LL |     <E as From<_>>::from(never);
   |      ^ the trait `From<()>` is not implemented for `E`
   |
   = help: the trait `From<!>` is implemented for `E`
   = help: for that trait implementation, expected `!`, found `()`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.