Skip to content

Commit 3642a71

Browse files
committed
Fix typo caused by rebasing
1 parent 0a19371 commit 3642a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/rmeta/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ impl<'a, 'tcx> CrateMetadata {
10821082

10831083
fn get_optimized_mir(&self, tcx: TyCtxt<'tcx>, id: DefIndex) -> Body<'tcx> {
10841084
self.root.per_def.mir.get(self, id)
1085-
self.entry_unless_proc_macro(id)
1085+
.filter(|_| !self.is_proc_macro(id))
10861086
.unwrap_or_else(|| {
10871087
bug!("get_optimized_mir: missing MIR for `{:?}`", self.local_def_id(id))
10881088
})

0 commit comments

Comments
 (0)