blob: 36ae7d5de1bf11837e004e049455157b2133a776 (
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 1 previous error
For more information about this error, try `rustc --explain E0572`.
|