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