Skip to content

Commit

Permalink
remove unimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
ouz-a committed Sep 28, 2023
1 parent eb77903 commit 34f10e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_smir/src/rustc_smir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ impl<'tcx> Stable<'tcx> for ty::RegionKind<'tcx> {
})
}
ty::ReErased => RegionKind::ReErased,
_ => unimplemented!(),
_ => unreachable!("{self:?}"),
}
}
}
Expand Down

0 comments on commit 34f10e2

Please sign in to comment.