2022-01-25 12:47:10 -06:00
|
|
|
fn main() {
|
|
|
|
f<'a,>
|
|
|
|
//~^ ERROR expected
|
2022-02-02 12:33:13 -06:00
|
|
|
//~| ERROR expected
|
|
|
|
}
|
|
|
|
|
|
|
|
fn bar(a: usize, b: usize) -> usize {
|
|
|
|
a + b
|
|
|
|
}
|
|
|
|
|
|
|
|
fn foo() {
|
|
|
|
let x = 1;
|
|
|
|
bar('y, x);
|
|
|
|
//~^ ERROR expected
|
2022-09-01 13:48:09 -05:00
|
|
|
//~| ERROR mismatched types
|
2022-01-25 12:47:10 -06:00
|
|
|
}
|