Support unsized types
This commit is contained in:
parent
0117b7872a
commit
b5082f7da8
6 changed files with 123 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue