]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conditional-compilation/cfg_accessible-stuck.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / conditional-compilation / cfg_accessible-stuck.rs
1 #![feature(cfg_accessible)]
2
3 #[cfg_accessible(Z)] // OK, recovered after the other `cfg_accessible` produces an error.
4 struct S;
5
6 #[cfg_accessible(S)] //~ ERROR cannot determine whether the path is accessible or not
7 struct Z;
8
9 fn main() {}