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