about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/check_consts/check.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-11-22 17:52:02 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-26 12:05:57 +1100
commit3d12160dfcb4d95cd3f1eaa23071fb9b4e3d69ab (patch)
tree2b5fc38b876c42d159fe366a36c53bc97038b461 /compiler/rustc_const_eval/src/check_consts/check.rs
parent71789427a3b420fc4e729a748e1bf22d0a444bfa (diff)
downloadrust-3d12160dfcb4d95cd3f1eaa23071fb9b4e3d69ab.tar.gz
rust-3d12160dfcb4d95cd3f1eaa23071fb9b4e3d69ab.zip
Move `always_storage_live_locals`.
It's very closely related to `MaybeStorageLive` and `MaybeStorageDead`.
It's weird that it's currently in a different module.
Diffstat (limited to 'compiler/rustc_const_eval/src/check_consts/check.rs')
-rw-r--r--compiler/rustc_const_eval/src/check_consts/check.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/check_consts/check.rs b/compiler/rustc_const_eval/src/check_consts/check.rs
index 9f21c864487..916929b6c0b 100644
--- a/compiler/rustc_const_eval/src/check_consts/check.rs
+++ b/compiler/rustc_const_eval/src/check_consts/check.rs
@@ -18,8 +18,7 @@ use rustc_middle::span_bug;
 use rustc_middle::ty::adjustment::PointerCoercion;
 use rustc_middle::ty::{self, Ty, TypeVisitableExt};
 use rustc_mir_dataflow::Analysis;
-use rustc_mir_dataflow::impls::MaybeStorageLive;
-use rustc_mir_dataflow::storage::always_storage_live_locals;
+use rustc_mir_dataflow::impls::{MaybeStorageLive, always_storage_live_locals};
 use rustc_span::{Span, Symbol, sym};
 use rustc_trait_selection::traits::{
     Obligation, ObligationCause, ObligationCauseCode, ObligationCtxt,