Commit 30df2da
committed
Remove outdated comment about non-copy unions
I'm not sure when exactly this was removed, but non-copy union fields
aren't allowed, and there is no nightly feature to allow them AFAIK.
There was various discussion in the tracking issue
rust-lang/rust#55149 and various changes like
rust-lang/rust#97995 on what is allowed, but I
did not dig down to find the exact change that closed the door.
The allowed field kinds are described in items.union.field-restrictions.
Also, in general the reference shouldn't be referring to unstable
features.1 parent 9571d4d commit 30df2da
1 file changed
+0
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | 422 | | |
426 | 423 | | |
427 | 424 | | |
| |||
496 | 493 | | |
497 | 494 | | |
498 | 495 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | 496 | | |
503 | 497 | | |
504 | 498 | | |
| |||
668 | 662 | | |
669 | 663 | | |
670 | 664 | | |
671 | | - | |
672 | 665 | | |
673 | 666 | | |
674 | 667 | | |
| |||
0 commit comments