diff options
| author | Michael Goulet <michael@errs.io> | 2024-03-21 17:33:10 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-03-22 11:13:29 -0400 |
| commit | 7be0dbe77292de955da02fe1de1626bdd2e4cc0a (patch) | |
| tree | be790699979e783668fcaca21d48c6982983b13e /compiler/rustc_const_eval/src/interpret/cast.rs | |
| parent | ff0c31e6b9bc8e847c3b1b9d61793325edfacf47 (diff) | |
| download | rust-7be0dbe77292de955da02fe1de1626bdd2e4cc0a.tar.gz rust-7be0dbe77292de955da02fe1de1626bdd2e4cc0a.zip | |
Make RawPtr take Ty and Mutbl separately
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 10f57483f29..bbf11f169f9 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_middle::mir::interpret::{InterpResult, PointerArithmetic, Scalar}; use rustc_middle::mir::CastKind; use rustc_middle::ty::adjustment::PointerCoercion; use rustc_middle::ty::layout::{IntegerExt, LayoutOf, TyAndLayout}; -use rustc_middle::ty::{self, FloatTy, Ty, TypeAndMut}; +use rustc_middle::ty::{self, FloatTy, Ty}; use rustc_target::abi::Integer; use rustc_type_ir::TyKind::*; |
