summaryrefslogtreecommitdiffstats
path: root/tests/ui/explicit-tail-calls/become-outside.array.stderr
blob: 839c20509fe732c5532b03dc05bcb4a4f7cbe3ee (plain)
1
2
3
4
5
6
7
8
9
error[E0572]: become statement outside of function body
  --> $DIR/become-outside.rs:11:17
   |
LL | struct Bad([(); become f()]);
   |                 ^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0572`.