]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conditional-compilation/cfg_accessible-stuck.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[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() {}