rustc/tests/ui/explicit-tail-calls/become-outside.array.stderr
2024-06-14 12:43:07 +02:00

10 lines
273 B
Plaintext

error[E0572]: become statement outside of function body
--> $DIR/become-outside.rs:11:17
|
LL | struct Bad([(); become f()]);
| ^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0572`.