]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_traits/src/implied_outlives_bounds.rs
Auto merge of #92268 - jswrenn:transmute, r=oli-obk
[rust.git] / compiler / rustc_traits / src / implied_outlives_bounds.rs
index ae48211d52ddba8587534fbf7992f24c4d552236..4d4d55de5f45791f9bb3e864aa63f513c4e936f4 100644 (file)
@@ -9,7 +9,7 @@
 use rustc_infer::traits::query::OutlivesBound;
 use rustc_infer::traits::TraitEngineExt as _;
 use rustc_middle::ty::query::Providers;
-use rustc_middle::ty::{self, Ty, TyCtxt, TypeFoldable};
+use rustc_middle::ty::{self, Ty, TyCtxt, TypeVisitable};
 use rustc_span::source_map::DUMMY_SP;
 use rustc_trait_selection::infer::InferCtxtBuilderExt;
 use rustc_trait_selection::traits::query::{CanonicalTyGoal, Fallible, NoSolution};
@@ -47,7 +47,7 @@ fn compute_implied_outlives_bounds<'tcx>(
     // process it next. Because the resulting predicates aren't always
     // guaranteed to be a subset of the original type, so we need to store the
     // WF args we've computed in a set.
-    let mut checked_wf_args = rustc_data_structures::stable_set::FxHashSet::default();
+    let mut checked_wf_args = rustc_data_structures::fx::FxHashSet::default();
     let mut wf_args = vec![ty.into()];
 
     let mut implied_bounds = vec![];