rust/tests/ui/conditional-compilation/cfg_accessible-stuck.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
240 B
Rust
Raw Normal View History

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