]> git.lizzy.rs Git - rust.git/blob - tests/ui/conditional-compilation/cfg_accessible-stuck.rs
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / 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() {}