Function clippy_utils::create_disallowed_map
source ยท pub fn create_disallowed_map(
tcx: TyCtxt<'_>,
disallowed: &'static [DisallowedPath],
) -> DefIdMap<(&'static str, Option<&'static str>)>
Expand description
Creates a map of disallowed items to the reason they were disallowed.