Rollup merge of #155586 - oli-obk:assert-ignored-feed, r=petrochenkov

Ensure we don't feed owners from ast lowering if we ever make that query tracked

follow-up to rust-lang/rust#153489

I don't expect this to ever really be an issue, but better safe than sorry 😆
This commit is contained in:
Jacob Pratt
2026-04-21 08:22:17 -04:00
committed by GitHub
+1
View File
@@ -700,6 +700,7 @@ pub fn feed_anon_const_type(self, key: LocalDefId, value: ty::EarlyBinder<'tcx,
/// Feeds the HIR delayed owner during AST -> HIR delayed lowering.
pub fn feed_delayed_owner(self, key: LocalDefId, owner: MaybeOwner<'tcx>) {
self.dep_graph.assert_ignored();
TyCtxtFeed { tcx: self, key }.delayed_owner(owner);
}
}