#[macro_use]externcrate typeinfo;modm{def!{structFoo{a:i32,
}}def!{pubstructBar{a:i32,
}}}fnmain(){usem::{Foo, Bar};//~ ERROR struct `Foo` is private
let f = Foo { a:1};//~ ERROR field `a` of struct `m::Foo` is private
let b = Bar { a:1};//~ ERROR field `a` of struct `m::Bar` is private
}