2025-05-28 10:29:08 +00:00
|
|
|
error[E0080]: overflowing pointer arithmetic: the total offset in bytes does not fit in an `isize`
|
2024-09-14 10:00:02 +02:00
|
|
|
--> $DIR/slice-index-overflow-issue-130284.rs:7:20
|
|
|
|
|
|
|
|
|
|
|
LL | let _ice = (*fat)[usize::MAX - 1];
|
2025-05-30 14:06:35 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ evaluation of constant value failed here
|
2024-09-14 10:00:02 +02:00
|
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|