Remove some more unused codepaths in (region) error reporting

This commit is contained in:
Michael Goulet
2023-11-23 06:40:40 +00:00
parent 0f9ab6371d
commit 3e769c55b8
2 changed files with 2 additions and 7 deletions

View File

@@ -340,7 +340,8 @@ pub enum ObligationCauseCode<'tcx> {
parent_code: InternedObligationCauseCode<'tcx>,
},
/// Error derived when matching traits/impls; see ObligationCause for more details
/// Error derived when checking an impl item is compatible with
/// its corresponding trait item's definition
CompareImplItemObligation {
impl_item_def_id: LocalDefId,
trait_item_def_id: DefId,