summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-93282.rs
blob: 274245f1a465f33d807d57590a08396cf3ee9fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
    //~| ERROR mismatched types
}