use "helper" as a more descriptive name

This commit is contained in:
Makai
2025-07-15 13:51:55 +00:00
parent 7f22e88fab
commit ad0de062b5
10 changed files with 26 additions and 26 deletions

View File

@@ -59,7 +59,7 @@ pub(crate) fn try_new_allocation<'tcx>(
}
ConstValue::Indirect { alloc_id, offset } => {
let alloc = alloc::try_new_indirect(alloc_id, cx);
use rustc_public_bridge::context::SmirAllocRange;
use rustc_public_bridge::context::AllocRangeHelpers;
Ok(allocation_filter(&alloc.0, cx.alloc_range(offset, layout.size), tables, cx))
}
}