1
Fork 0

Add variances to RPITITs

This commit is contained in:
Michael Goulet 2024-09-29 13:41:13 -04:00 committed by Jubilee Young
parent b7297ac440
commit a7dc98733d
21 changed files with 242 additions and 169 deletions

View file

@ -539,6 +539,10 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
self.trait_def(trait_def_id).implement_via_object
}
fn is_impl_trait_in_trait(self, def_id: DefId) -> bool {
self.is_impl_trait_in_trait(def_id)
}
fn delay_bug(self, msg: impl ToString) -> ErrorGuaranteed {
self.dcx().span_delayed_bug(DUMMY_SP, msg.to_string())
}