]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0572.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0572.stderr
1 error[E0572]: return statement outside of function body
2   --> $DIR/E0572.rs:1:18
3    |
4 LL | const FOO: u32 = return 0; //~ ERROR E0572
5    |                  ^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0572`.