]>
git.proxmox.com Git - rustc.git/blob - tests/ui/privacy/private-struct-field-cross-crate.rs
1 // aux-build:cci_class.rs
2 extern crate cci_class
;
3 use cci_class
::kitties
::cat
;
6 let nyan
: cat
= cat(52, 99);
7 assert_eq
!(nyan
.meows
, 52);
8 //~^ ERROR field `meows` of struct `cat` is private