Fix typo caused by rebasing
This commit is contained in:
parent
0a19371243
commit
3642a71da2
1 changed files with 1 additions and 1 deletions
|
|
@ -1082,7 +1082,7 @@ impl<'a, 'tcx> CrateMetadata {
|
|||
|
||||
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))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue