]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4736.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-4736.stderr
1 error[E0560]: struct `NonCopyable` has no field named `p`
2   --> $DIR/issue-4736.rs:4:26
3    |
4 LL |     let z = NonCopyable{ p: () }; //~ ERROR struct `NonCopyable` has no field named `p`
5    |                          ^ field does not exist - did you mean `0`?
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0560`.