File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ use std::ops::Index;
1515use bridge:: * ;
1616use context:: SmirCtxt ;
1717use rustc_data_structures:: fx:: { self , FxIndexMap } ;
18- use rustc_data_structures:: PointeeSized ;
1918use rustc_middle:: mir;
2019use rustc_middle:: mir:: interpret:: AllocId ;
2120use rustc_middle:: ty:: { self , Ty , TyCtxt } ;
Original file line number Diff line number Diff line change 44//! any sort of conversion and usage of internal rustc code. So we
55//! restrict the usage of internal items to be inside this module.
66
7+ use rustc_data_structures:: PointeeSized ;
78use rustc_hir:: def:: DefKind ;
89use rustc_middle:: ty:: { List , Ty , TyCtxt } ;
910use rustc_middle:: { mir, ty} ;
@@ -143,7 +144,7 @@ pub trait InternalCx<'tcx>: Copy + Clone {
143144/// and StableMIR constructs. However, they should be used seldomly and they have no influence
144145/// in this crate semver.
145146#[ doc( hidden) ]
146- pub trait Stable < ' tcx > {
147+ pub trait Stable < ' tcx > : PointeeSized {
147148 /// The stable representation of the type implementing Stable.
148149 type T ;
149150 /// Converts an object to the equivalent Stable MIR representation.
You can’t perform that action at this time.
0 commit comments