mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
13 lines
488 B
Plaintext
13 lines
488 B
Plaintext
error[E0277]: the trait bound `E: From<()>` is not satisfied
|
|
--> $DIR/from_infer_breaking_with_unit_fallback.rs:25:6
|
|
|
|
|
LL | <E as From<_>>::from(never); // Should the inference fail?
|
|
| ^ 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`.
|