]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-50493.rs
Rollup merge of #107470 - kadiwa4:bootstrap_cleanup, r=albertlarsan68
[rust.git] / tests / ui / proc-macro / issue-50493.rs
1 // aux-build:issue-50493.rs
2
3 #[macro_use]
4 extern crate issue_50493;
5
6 #[derive(Derive)]
7 struct Restricted {
8     pub(in restricted) field: usize, //~ visibilities can only be restricted to ancestor modules
9 }
10
11 mod restricted {}
12
13 fn main() {}