blob: b1111fcf1484c9ed77ae6bed29a9dae69e008c88 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0572]: return statement outside of function body
--> $DIR/issue-86721-return-expr-ice.rs:9:22
|
LL | const U: usize = return;
| ^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0572`.
|