mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
5 lines
141 B
Rust
5 lines
141 B
Rust
fn main() {
|
|
if let -129 = 0i8 {} //~ ERROR literal out of range for `i8`
|
|
let x: i8 = -129; //~ ERROR literal out of range for `i8`
|
|
}
|