]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-50493.stderr
Update tests
[rust.git] / src / test / ui / proc-macro / issue-50493.stderr
1 error: visibilities can only be restricted to ancestor modules
2   --> $DIR/issue-50493.rs:8:12
3    |
4 LL |     pub(in restricted) field: usize,
5    |            ^^^^^^^^^^
6
7 error[E0616]: field `field` of struct `Restricted` is private
8   --> $DIR/issue-50493.rs:6:10
9    |
10 LL | #[derive(Derive)]
11    |          ^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0616`.