diff options
Diffstat (limited to 'src/test/ui/reachable/expr_return.stderr')
-rw-r--r-- | src/test/ui/reachable/expr_return.stderr | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/reachable/expr_return.stderr b/src/test/ui/reachable/expr_return.stderr deleted file mode 100644 index e1bef80ae..000000000 --- a/src/test/ui/reachable/expr_return.stderr +++ /dev/null @@ -1,17 +0,0 @@ -error: unreachable expression - --> $DIR/expr_return.rs:10:22 - | -LL | let x = {return {return {return;}}}; - | ^^^^^^^^------^^ - | | | - | | any code following this expression is unreachable - | unreachable expression - | -note: the lint level is defined here - --> $DIR/expr_return.rs:4:9 - | -LL | #![deny(unreachable_code)] - | ^^^^^^^^^^^^^^^^ - -error: aborting due to previous error - |