rust/tests/ui/parser/issues/issue-93282.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
225 B
Rust
Raw Normal View History

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
}