blob: 7fb78b6a028035a2dbf3c008d68ce46676fe202b (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0080]: attempt to compute `0_usize - 1_usize`, which would overflow
--> $DIR/const-evalutation-ice.rs:10:22
|
LL | pub const N: usize = 0 - (mem::size_of::<S>() != 400) as usize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of constant value failed
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.
|