rust/tests/ui/conditional-compilation/cfg_accessible-stuck.rs
2023-01-11 09:32:08 +00:00

10 lines
240 B
Rust

#![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() {}