This commit is contained in:
Ralf Jung 2020-02-23 22:39:57 +01:00
parent 01d9329347
commit 9b62d60db1

View file

@ -219,10 +219,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
///
/// This function must be idempotent.
#[inline]
fn canonical_alloc_id(
_mem: &Memory<'mir, 'tcx, Self>,
id: AllocId,
) -> AllocId {
fn canonical_alloc_id(_mem: &Memory<'mir, 'tcx, Self>, id: AllocId) -> AllocId {
id
}