1 // aux-build:struct_field_privacy.rs
3 extern crate struct_field_privacy as xc;
13 // external crate struct
16 //~^ ERROR struct `B` has no field named `aa`
18 //~^ ERROR struct `B` has no field named `bb`
23 //~^ ERROR struct `A` has no field named `aa`
25 //~^ ERROR struct `A` has no field named `bb`