rust/src/test/ui/parser/issue-1802-2.rs

9 lines
167 B
Rust
Raw Normal View History

fn log(a: i32, b: i32) {}
2012-02-10 17:43:16 -06:00
fn main() {
let error = 42;
log(error, 0b_usize);
//~^ ERROR no valid digits found for number
2019-01-11 23:21:30 -06:00
//~| ERROR mismatched types
}