]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-50493.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[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() {}