]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-unnamed_fields.rs
3 _
: union { //~ ERROR unnamed fields are not yet fully implemented [E0658]
4 //~^ ERROR unnamed fields are not yet fully implemented [E0658]
5 //~| ERROR anonymous unions are unimplemented
13 _
: struct { //~ ERROR unnamed fields are not yet fully implemented [E0658]
14 //~^ ERROR unnamed fields are not yet fully implemented [E0658]
15 //~| ERROR anonymous structs are unimplemented
16 //~| ERROR unions may not contain fields that need dropping [E0740]
24 _
: S
//~ ERROR unnamed fields are not yet fully implemented [E0658]