rust/src/test/ui/parser/issue-1802-2.rs
2019-01-12 17:12:41 -08: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
}