diff options
| author | Stypox <stypox@pm.me> | 2025-06-27 10:54:58 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-06-27 11:49:22 +0200 |
| commit | 708dc15cf1f2fe1e0df4a2485e455337408932da (patch) | |
| tree | 75eb289e236614c0a91ea829ec3bbd98bd5e88e5 /compiler/rustc_const_eval/src/interpret/cast.rs | |
| parent | 5e1082899b06c821f8bf06f3458c76a87c89dcd4 (diff) | |
| download | rust-708dc15cf1f2fe1e0df4a2485e455337408932da.tar.gz rust-708dc15cf1f2fe1e0df4a2485e455337408932da.zip | |
Add InterpCx::layout_of with tracing, shadowing LayoutOf
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/cast.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/cast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/cast.rs b/compiler/rustc_const_eval/src/interpret/cast.rs index 9e15f4572d7..1036935bb10 100644 --- a/compiler/rustc_const_eval/src/interpret/cast.rs +++ b/compiler/rustc_const_eval/src/interpret/cast.rs @@ -6,7 +6,7 @@ use rustc_apfloat::{Float, FloatConvert}; use rustc_middle::mir::CastKind; use rustc_middle::mir::interpret::{InterpResult, PointerArithmetic, Scalar}; use rustc_middle::ty::adjustment::PointerCoercion; -use rustc_middle::ty::layout::{IntegerExt, LayoutOf, TyAndLayout}; +use rustc_middle::ty::layout::{IntegerExt, TyAndLayout}; use rustc_middle::ty::{self, FloatTy, Ty}; use rustc_middle::{bug, span_bug}; use tracing::trace; |
