mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Fix typo caused by rebasing
This commit is contained in:
@@ -1082,7 +1082,7 @@ fn is_item_mir_available(&self, id: DefIndex) -> bool {
|
||||
|
||||
fn get_optimized_mir(&self, tcx: TyCtxt<'tcx>, id: DefIndex) -> Body<'tcx> {
|
||||
self.root.per_def.mir.get(self, id)
|
||||
self.entry_unless_proc_macro(id)
|
||||
.filter(|_| !self.is_proc_macro(id))
|
||||
.unwrap_or_else(|| {
|
||||
bug!("get_optimized_mir: missing MIR for `{:?}`", self.local_def_id(id))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user