rustc_incremental::persist::dirty_clean

Function check_config

Source
fn check_config(tcx: TyCtxt<'_>, attr: &Attribute) -> bool
Expand description

Given a #[rustc_clean] attribute, scan for a cfg="foo" attribute and check whether we have a cfg flag called foo.