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;
15
15
use bridge:: * ;
16
16
use context:: SmirCtxt ;
17
17
use rustc_data_structures:: fx:: { self , FxIndexMap } ;
18
- use rustc_data_structures:: PointeeSized ;
19
18
use rustc_middle:: mir;
20
19
use rustc_middle:: mir:: interpret:: AllocId ;
21
20
use rustc_middle:: ty:: { self , Ty , TyCtxt } ;
Original file line number Diff line number Diff line change 4
4
//! any sort of conversion and usage of internal rustc code. So we
5
5
//! restrict the usage of internal items to be inside this module.
6
6
7
+ use rustc_data_structures:: PointeeSized ;
7
8
use rustc_hir:: def:: DefKind ;
8
9
use rustc_middle:: ty:: { List , Ty , TyCtxt } ;
9
10
use rustc_middle:: { mir, ty} ;
@@ -143,7 +144,7 @@ pub trait InternalCx<'tcx>: Copy + Clone {
143
144
/// and StableMIR constructs. However, they should be used seldomly and they have no influence
144
145
/// in this crate semver.
145
146
#[ doc( hidden) ]
146
- pub trait Stable < ' tcx > {
147
+ pub trait Stable < ' tcx > : PointeeSized {
147
148
/// The stable representation of the type implementing Stable.
148
149
type T ;
149
150
/// Converts an object to the equivalent Stable MIR representation.
You can’t perform that action at this time.
0 commit comments