mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
10 lines
240 B
Rust
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() {}
|