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
116 B
Rust
Raw Normal View History

fn main() {
for i in 0..256 as u8 { //~ ERROR range endpoint is out of range
println!("{}", i);
}
}