]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-86721-return-expr-ice.rev2.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / typeck / issue-86721-return-expr-ice.rev2.stderr
1 error[E0572]: return statement outside of function body
2   --> $DIR/issue-86721-return-expr-ice.rs:15:20
3    |
4 LL |     fn foo(a: [(); return]);
5    |                    ^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0572`.