rust/tests/ui/explicit-tail-calls/become-outside.array.stderr

10 lines
271 B
Plaintext
Raw Normal View History

2022-11-21 06:40:27 -06:00
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`.