From d4da7c46dd1d8f22804a2c4767bc98ce6fe03a83 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 14 Feb 2017 10:17:00 +0100 Subject: [PATCH] rustup --- src/eval_context.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/eval_context.rs b/src/eval_context.rs index b57e3a49bd6..13fad7b4644 100644 --- a/src/eval_context.rs +++ b/src/eval_context.rs @@ -11,7 +11,6 @@ use rustc::ty::layout::{self, Layout, Size}; use rustc::ty::subst::{self, Subst, Substs}; use rustc::ty::{self, Ty, TyCtxt, TypeFoldable}; use rustc_data_structures::indexed_vec::Idx; -use rustc_data_structures::fx::FxHashSet; use syntax::codemap::{self, DUMMY_SP}; use error::{EvalError, EvalResult}; @@ -1588,7 +1587,7 @@ pub fn monomorphize_field_ty<'a, 'tcx:'a >(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: &ty:: } pub fn is_inhabited<'a, 'tcx: 'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>, ty: Ty<'tcx>) -> bool { - ty.uninhabited_from(&mut FxHashSet::default(), tcx).is_empty() + ty.uninhabited_from(&mut HashMap::default(), tcx).is_empty() } pub trait IntoValTyPair<'tcx> {