diff options
Diffstat (limited to 'tests/ui/block-result/block-must-not-have-result-res.stderr')
-rw-r--r-- | tests/ui/block-result/block-must-not-have-result-res.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/block-result/block-must-not-have-result-res.stderr b/tests/ui/block-result/block-must-not-have-result-res.stderr index 0080d06dd..b7427462b 100644 --- a/tests/ui/block-result/block-must-not-have-result-res.stderr +++ b/tests/ui/block-result/block-must-not-have-result-res.stderr @@ -2,7 +2,7 @@ error[E0308]: mismatched types --> $DIR/block-must-not-have-result-res.rs:5:9 | LL | fn drop(&mut self) { - | - expected `()` because of default return type + | - expected `()` because of default return type LL | true | ^^^^ expected `()`, found `bool` |