use crate::type_of::LayoutLlvmExt;
use rustc::ty::layout::{self, Align, Size, TyLayout};
use rustc::ty::Ty;
+use rustc_ast::ast;
use rustc_codegen_ssa::common::TypeKind;
use rustc_data_structures::small_c_str::SmallCStr;
use rustc_target::abi::call::{CastTarget, FnAbi, Reg};
-use syntax::ast;
use std::fmt;
use std::ptr;