diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-12-12 15:32:30 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-01-18 21:09:30 +0100 |
| commit | 50e1ae15e9f3035b06bae00e1b1dc7a358546d3e (patch) | |
| tree | e5cee77dc418dba544f105f5732636aa63f558f4 /compiler/rustc_codegen_cranelift/src | |
| parent | 933bb18956f8e8a57e130ce0c9d342becc0ad0ae (diff) | |
| download | rust-50e1ae15e9f3035b06bae00e1b1dc7a358546d3e.tar.gz rust-50e1ae15e9f3035b06bae00e1b1dc7a358546d3e.zip | |
Use ty::{IntTy,UintTy,FloatTy} in rustc
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/lib.rs b/compiler/rustc_codegen_cranelift/src/lib.rs index 6e4f3bf2898..f31c58b92e4 100644 --- a/compiler/rustc_codegen_cranelift/src/lib.rs +++ b/compiler/rustc_codegen_cranelift/src/lib.rs @@ -83,7 +83,6 @@ mod vtable; mod prelude { pub(crate) use std::convert::{TryFrom, TryInto}; - pub(crate) use rustc_ast::ast::{FloatTy, IntTy, UintTy}; pub(crate) use rustc_span::Span; pub(crate) use rustc_hir::def_id::{DefId, LOCAL_CRATE}; @@ -91,7 +90,7 @@ mod prelude { pub(crate) use rustc_middle::mir::{self, *}; pub(crate) use rustc_middle::ty::layout::{self, TyAndLayout}; pub(crate) use rustc_middle::ty::{ - self, FnSig, Instance, InstanceDef, ParamEnv, Ty, TyCtxt, TypeAndMut, TypeFoldable, + self, FloatTy, FnSig, Instance, InstanceDef, IntTy, ParamEnv, Ty, TyCtxt, TypeAndMut, TypeFoldable, UintTy, }; pub(crate) use rustc_target::abi::{Abi, LayoutOf, Scalar, Size, VariantIdx}; |
