pub macro cfg_accessible($item:item) {
    ...
}
🔬 This is a nightly-only experimental API. (cfg_accessible #64797)
Expand description

Keeps the item it’s applied to if the passed path is accessible, and removes it otherwise.