diff options
Diffstat (limited to 'src/test/ui/suggestions/return-bindings-multi.stderr')
-rw-r--r-- | src/test/ui/suggestions/return-bindings-multi.stderr | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/test/ui/suggestions/return-bindings-multi.stderr b/src/test/ui/suggestions/return-bindings-multi.stderr deleted file mode 100644 index 738e3f2f4..000000000 --- a/src/test/ui/suggestions/return-bindings-multi.stderr +++ /dev/null @@ -1,34 +0,0 @@ -error[E0308]: mismatched types - --> $DIR/return-bindings-multi.rs:1:17 - | -LL | fn a(i: i32) -> i32 { - | - ^^^ expected `i32`, found `()` - | | - | implicitly returns `()` as its body has no tail or `return` expression - | -note: consider returning one of these bindings - --> $DIR/return-bindings-multi.rs:1:6 - | -LL | fn a(i: i32) -> i32 { - | ^ -LL | -LL | let j = 2i32; - | ^ - -error[E0308]: mismatched types - --> $DIR/return-bindings-multi.rs:6:25 - | -LL | fn b(i: i32, j: i32) -> i32 {} - | - ^^^ expected `i32`, found `()` - | | - | implicitly returns `()` as its body has no tail or `return` expression - | -note: consider returning one of these bindings - --> $DIR/return-bindings-multi.rs:6:6 - | -LL | fn b(i: i32, j: i32) -> i32 {} - | ^ ^ - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0308`. |