rust/tests/ui/parser/issues/issue-1802-2.rs
2023-01-11 09:32:08 +00:00

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
}