rust/tests/ui/suggestions/return-bindings-multi.rs

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

10 lines
148 B
Rust
Raw Normal View History

fn a(i: i32) -> i32 {
//~^ ERROR mismatched types
let j = 2i32;
}
fn b(i: i32, j: i32) -> i32 {}
//~^ ERROR mismatched types
fn main() {}