blob: 86c7c1537421ea7ab6e2ae3396ed7a8e82e1c0cf [file] [log] [blame]
fn foo() {
//~^ HELP try adding a return type
|x: &i32| 1i32
//~^ ERROR mismatched types
}
fn bar(i: impl Sized) {
//~^ HELP a return type might be missing here
|| i
//~^ ERROR mismatched types
}
fn main() {}