]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_codegen_llvm/src/builder.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / compiler / rustc_codegen_llvm / src / builder.rs
index f122fa14e70be172a4820070b9954172232654eb..d2f4d3edc2207d4fffdce73c200482eb6cc6df12 100644 (file)
@@ -304,9 +304,8 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
         lhs: Self::Value,
         rhs: Self::Value,
     ) -> (Self::Value, Self::Value) {
-        use rustc_ast::IntTy::*;
-        use rustc_ast::UintTy::*;
         use rustc_middle::ty::{Int, Uint};
+        use rustc_middle::ty::{IntTy::*, UintTy::*};
 
         let new_kind = match ty.kind() {
             Int(t @ Isize) => Int(t.normalize(self.tcx.sess.target.pointer_width)),