summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-93282.rs
blob: 261fcb5f9183e9a34b42b74ac1c1ecc95e44c556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    f<'a,>
    //~^ ERROR expected
    //~| ERROR expected
}

fn bar(a: usize, b: usize) -> usize {
    a + b
}

fn foo() {
    let x = 1;
    bar('y, x);
    //~^ ERROR expected
}