]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-86721-return-expr-ice.rev1.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / typeck / issue-86721-return-expr-ice.rev1.stderr
1 error[E0572]: return statement outside of function body
2   --> $DIR/issue-86721-return-expr-ice.rs:9:22
3    |
4 LL |     const U: usize = return;
5    |                      ^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0572`.