1 2 3 4 5
struct NonCopyable(()); fn main() { let z = NonCopyable{ p: () }; //~ ERROR struct `NonCopyable` has no field named `p` }