summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-1802-2.rs
blob: 3c34b0d8febbcc3193074819cdec00a39f57b6d5 (plain)
1
2
3
4
5
6
7
fn log(a: i32, b: i32) {}

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