blob: ff781a68dc69aafdc24121e9aea45a8aa9cfc032 (
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:15:20
|
LL | fn foo(a: [(); return]);
| ^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0572`.
|