summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg_accessible-stuck.rs
blob: 50504a44c95183b78de472e16b1bd886fb5869ed (plain)
1
2
3
4
5
6
7
8
9
#![feature(cfg_accessible)]

#[cfg_accessible(Z)] // OK, recovered after the other `cfg_accessible` produces an error.
struct S;

#[cfg_accessible(S)] //~ ERROR cannot determine whether the path is accessible or not
struct Z;

fn main() {}