summaryrefslogtreecommitdiffstats
path: root/src/test/ui/return/issue-86188-return-not-in-fn-body.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/return/issue-86188-return-not-in-fn-body.stderr')
-rw-r--r--src/test/ui/return/issue-86188-return-not-in-fn-body.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/return/issue-86188-return-not-in-fn-body.stderr b/src/test/ui/return/issue-86188-return-not-in-fn-body.stderr
index d7eeb3a72..4f938670e 100644
--- a/src/test/ui/return/issue-86188-return-not-in-fn-body.stderr
+++ b/src/test/ui/return/issue-86188-return-not-in-fn-body.stderr
@@ -35,17 +35,17 @@ LL | | }
error[E0572]: return statement outside of function body
--> $DIR/issue-86188-return-not-in-fn-body.rs:36:10
|
-LL | / fn main() {
-LL | |
-LL | | [(); return || {
- | |__________^
+LL | / fn main() {
+LL | |
+LL | | [(); return || {
+ | | __________^
LL | ||
LL | ||
LL | || let tx;
LL | || }];
| ||_____^ the return is part of this body...
-LL | | }
- | |_- ...not the enclosing function body
+LL | | }
+ | |__- ...not the enclosing function body
error: aborting due to 4 previous errors