pub(crate) fn report_expected_neg( genv: GlobalEnv<'_, '_>, def_id: LocalDefId, ) -> Result<(), ErrorGuaranteed>