mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
rustdoc: Gate unstable `doc(cfg())` predicates Fixes #138113 Since the extraction process treats `cfg(true)` as having no cfg attribute, we have to do the gating during parsing; so we remove the unused `features` arg from `Cfg::matches`