rust/tests/ui/parser/issues/issue-1802-1.rs

8 lines
129 B
Rust

fn log(a: i32, b: i32) {}
fn main() {
let error = 42;
log(error, 0b);
//~^ ERROR no valid digits found for number
}