|
| 1 | +error[E0277]: the trait bound `(): From<!>` is not satisfied |
| 2 | + --> $DIR/reservation-impl-ice.rs:9:18 |
| 3 | + | |
| 4 | +LL | impls_from::<()>(); |
| 5 | + | ^^ the trait `From<!>` is not implemented for `()` |
| 6 | + | |
| 7 | + = help: the following other types implement trait `From<T>`: |
| 8 | + `(T, T)` implements `From<[T; 2]>` |
| 9 | + `(T, T, T)` implements `From<[T; 3]>` |
| 10 | + `(T, T, T, T)` implements `From<[T; 4]>` |
| 11 | + `(T, T, T, T, T)` implements `From<[T; 5]>` |
| 12 | + `(T, T, T, T, T, T)` implements `From<[T; 6]>` |
| 13 | + `(T, T, T, T, T, T, T)` implements `From<[T; 7]>` |
| 14 | + `(T, T, T, T, T, T, T, T)` implements `From<[T; 8]>` |
| 15 | + `(T, T, T, T, T, T, T, T, T)` implements `From<[T; 9]>` |
| 16 | + and 4 others |
| 17 | +note: required by a bound in `impls_from` |
| 18 | + --> $DIR/reservation-impl-ice.rs:4:24 |
| 19 | + | |
| 20 | +LL | const fn impls_from<T: ~const From<!>>() {} |
| 21 | + | ^^^^^^^^^^^^^^ required by this bound in `impls_from` |
| 22 | + |
| 23 | +error: aborting due to 1 previous error |
| 24 | + |
| 25 | +For more information about this error, try `rustc --explain E0277`. |
0 commit comments