fn check_config(tcx: TyCtxt<'_>, attr: &Attribute) -> bool
Given a #[rustc_clean] attribute, scan for a cfg="foo" attribute and check whether we have a cfg flag called foo.
#[rustc_clean]
cfg="foo"
foo