We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b7a78 commit ab657e3Copy full SHA for ab657e3
src/librustc_mir/transform/mod.rs
@@ -338,7 +338,7 @@ fn optimized_mir(tcx: TyCtxt<'_>, def_id: DefId) -> &BodyCache<'_> {
338
tcx.arena.alloc(body_cache)
339
}
340
341
-fn promoted_mir(tcx: TyCtxt, def_id: DefId) -> &IndexVec<Promoted, BodyCache> {
+fn promoted_mir(tcx: TyCtxt<'_>, def_id: DefId) -> &IndexVec<Promoted, BodyCache<'_>> {
342
if tcx.is_constructor(def_id) {
343
return tcx.intern_promoted(IndexVec::new());
344
0 commit comments