2020-03-09 16:56:20 -05:00
|
|
|
#![feature(cfg_accessible)]
|
|
|
|
|
2020-11-14 05:47:14 -06:00
|
|
|
#[cfg_accessible(Z)] // OK, recovered after the other `cfg_accessible` produces an error.
|
2020-03-09 16:56:20 -05:00
|
|
|
struct S;
|
|
|
|
|
|
|
|
#[cfg_accessible(S)] //~ ERROR cannot determine whether the path is accessible or not
|
|
|
|
struct Z;
|
|
|
|
|
|
|
|
fn main() {}
|