1
Fork 0

Support unsized types

This commit is contained in:
bjorn3 2018-08-22 15:38:10 +02:00
parent 0117b7872a
commit b5082f7da8
6 changed files with 123 additions and 25 deletions

View file

@ -63,7 +63,7 @@ mod prelude {
pub use rustc::mir::interpret::AllocId;
pub use rustc::mir::*;
pub use rustc::session::{config::CrateType, Session};
pub use rustc::ty::layout::{self, LayoutOf, Size, TyLayout};
pub use rustc::ty::layout::{self, Abi, LayoutOf, Scalar, Size, TyLayout};
pub use rustc::ty::{
self, subst::Substs, FnSig, Instance, InstanceDef, ParamEnv, PolyFnSig, Ty, TyCtxt,
TypeAndMut, TypeFoldable,