rust/tests/ui/lint/issue-109529.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
118 B
Rust
Raw Normal View History

fn main() {
2023-03-24 12:09:02 +00:00
for i in 0..(256 as u8) { //~ ERROR range endpoint is out of range
println!("{}", i);
}
}