fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
364 B15 linesraw
1error[E0740]: unions may not contain fields that need dropping
2  --> $DIR/issue-41073.rs:4:5
3   |
4LL |     a: A,
5   |     ^^^^
6   |
7note: `std::mem::ManuallyDrop` can be used to wrap the type
8  --> $DIR/issue-41073.rs:4:5
9   |
10LL |     a: A,
11   |     ^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0740`.