You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the surface of the feature was implemented in expand: Implement something similar to #[cfg(accessible(path))] #69870 as an attribute #[cfg_accessible(path)] item. The attribute can configure or unconfigure the item and wait until the predicate "path is accessible" becomes determinate.
the predicate itself is not implemented, it either returns truth if the path is certainly available, or indeterminacy if we need to try again later, or reports an error otherwise. So the attribute is not usable in practice yet.
desugaring of #[cfg(accessible)] into #[cfg_accessible] is not implemented, we need to consider doing or not doing it only when everything else is implemented.
View all comments
This is a tracking issue for
#[cfg(accessible(::path::to::thing))](rust-lang/rfcs#2523).Steps
#[cfg(accessible(path))]#69870Status
From this comment
#[cfg(accessible(path))]#69870 as an attribute#[cfg_accessible(path)] item. The attribute can configure or unconfigure theitemand wait until the predicate "pathis accessible" becomes determinate.#[cfg(accessible)]into#[cfg_accessible]is not implemented, we need to consider doing or not doing it only when everything else is implemented.Unresolved questions:
None so far.