about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/mod.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-09-23 11:57:12 +0200
committerRalf Jung <post@ralfj.de>2024-09-23 11:57:32 +0200
commit1eb51e717e7f7ad201e7df6f3855884c2c56e93d (patch)
treeaefeb026e0eeafbcf2b2a8162898a6dd9ba9520f /compiler/rustc_const_eval/src/interpret/mod.rs
parent4c43757e43d04a1098329f2b965a40110ef0016a (diff)
downloadrust-1eb51e717e7f7ad201e7df6f3855884c2c56e93d.tar.gz
rust-1eb51e717e7f7ad201e7df6f3855884c2c56e93d.zip
fix unqualified_local_imports in rustc_const_eval
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs
index 669f5a597f8..5e84626f77e 100644
--- a/compiler/rustc_const_eval/src/interpret/mod.rs
+++ b/compiler/rustc_const_eval/src/interpret/mod.rs
@@ -19,12 +19,12 @@ mod util;
 mod validity;
 mod visitor;
 
-use eval_context::{from_known_layout, mir_assign_valid_types};
 #[doc(no_inline)]
 pub use rustc_middle::mir::interpret::*; // have all the `interpret` symbols in one place: here
 
 pub use self::call::FnArg;
 pub use self::eval_context::{InterpCx, format_interp_error};
+use self::eval_context::{from_known_layout, mir_assign_valid_types};
 pub use self::intern::{
     HasStaticRootDefId, InternKind, InternResult, intern_const_alloc_for_constprop,
     intern_const_alloc_recursive,