File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ use syntax_pos::Span;
96
96
use rustc_data_structures:: indexed_vec:: Idx ;
97
97
use rustc_data_structures:: fx:: FxHashMap ;
98
98
99
+ #[ derive( Debug ) ]
99
100
pub ( crate ) struct Scope < ' tcx > {
100
101
/// The visibility scope this scope was created in.
101
102
visibility_scope : VisibilityScope ,
@@ -139,6 +140,7 @@ pub(crate) struct Scope<'tcx> {
139
140
cached_exits : FxHashMap < ( BasicBlock , CodeExtent ) , BasicBlock > ,
140
141
}
141
142
143
+ #[ derive( Debug ) ]
142
144
struct DropData < ' tcx > {
143
145
/// span where drop obligation was incurred (typically where lvalue was declared)
144
146
span : Span ,
@@ -150,6 +152,7 @@ struct DropData<'tcx> {
150
152
kind : DropKind
151
153
}
152
154
155
+ #[ derive( Debug ) ]
153
156
enum DropKind {
154
157
Value {
155
158
/// The cached block for the cleanups-on-diverge path. This block
@@ -161,6 +164,7 @@ enum DropKind {
161
164
Storage
162
165
}
163
166
167
+ #[ derive( Debug ) ]
164
168
struct FreeData < ' tcx > {
165
169
/// span where free obligation was incurred
166
170
span : Span ,
You can’t perform that action at this time.
0 commit comments