2023-03-28 20:56:28 -05:00
|
|
|
// run-rustfix
|
|
|
|
|
2023-03-24 01:24:25 -05:00
|
|
|
fn main() {
|
2023-03-24 12:00:49 -05:00
|
|
|
for _ in 0..256 as u8 {} //~ ERROR range endpoint is out of range
|
|
|
|
for _ in 0..(256 as u8) {} //~ ERROR range endpoint is out of range
|
2023-03-24 01:24:25 -05:00
|
|
|
}
|