X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_traits%2Fgeneric_types.rs;h=e1a9ec56f8ba52601e334c96b2a10fd9964f65e6;hb=94aa655a3c7a9dde612b5e65e5e8ec3c57d143a3;hp=a48468a5851e1d3b4011b933127873a307648286;hpb=07effe18b01bfe559c6bcdc07ab7f004292bc8cc;p=rust.git diff --git a/src/librustc_traits/generic_types.rs b/src/librustc_traits/generic_types.rs index a48468a5851..e1a9ec56f8b 100644 --- a/src/librustc_traits/generic_types.rs +++ b/src/librustc_traits/generic_types.rs @@ -1,9 +1,9 @@ //! Utilities for creating generic types with bound vars in place of parameter values. -use rustc::hir; -use rustc::hir::def_id::DefId; use rustc::ty::subst::{GenericArg, InternalSubsts, SubstsRef}; use rustc::ty::{self, Ty, TyCtxt}; +use rustc_hir as hir; +use rustc_hir::def_id::DefId; use rustc_target::spec::abi; crate fn bound(tcx: TyCtxt<'tcx>, index: u32) -> Ty<'tcx> {