]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/query/mod.rs
Add a query to get the `promoted`s for a `mir::Body`
[rust.git] / src / librustc / query / mod.rs
index d2082ab87e738c6acd1ebdbbd27ed17b6781a970..70b79c5a6cadca9410d7516660c8d0a7a152c322 100644 (file)
                 mir.map(|x| &*tcx.arena.alloc(x))
             }
         }
+
+        query promoted_mir(key: DefId) -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> { }
     }
 
     TypeChecking {