error[E0572]: return statement outside of function body | |
--> $DIR/issue-38458.rs:12:5 | |
| | |
LL | return; //~ ERROR return statement outside of function body | |
| ^^^^^^ | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0572`. |