File tree 4 files changed +8
-0
lines changed
compiler/rustc_middle/src
4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ thir_with_elements! {
88
88
exprs: ExprId => Expr <' tcx> => "e{}" ,
89
89
stmts: StmtId => Stmt <' tcx> => "s{}" ,
90
90
params: ParamId => Param <' tcx> => "p{}" ,
91
+ pats: PatId => Pat <' tcx> => "pat{}" ,
91
92
}
92
93
93
94
#[ derive( Debug , HashStable ) ]
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ TrivialTypeTraversalImpls! {
261
261
crate :: mir:: SourceScope ,
262
262
crate :: mir:: SourceScopeLocalData ,
263
263
crate :: mir:: SwitchTargets ,
264
+ crate :: thir:: PatId ,
264
265
crate :: traits:: IsConstable ,
265
266
crate :: traits:: OverflowError ,
266
267
crate :: ty:: abstract_const:: NotConstEvaluatable ,
Original file line number Diff line number Diff line change 81
81
],
82
82
stmts: [],
83
83
params: [],
84
+ pats: [],
84
85
}
85
86
86
87
DefId(0:9 ~ thir_flat_const_variant[1f54]::{impl#0}::BAR2):
@@ -166,6 +167,7 @@ Thir {
166
167
],
167
168
stmts: [],
168
169
params: [],
170
+ pats: [],
169
171
}
170
172
171
173
DefId(0:10 ~ thir_flat_const_variant[1f54]::{impl#0}::BAR3):
@@ -251,6 +253,7 @@ Thir {
251
253
],
252
254
stmts: [],
253
255
params: [],
256
+ pats: [],
254
257
}
255
258
256
259
DefId(0:11 ~ thir_flat_const_variant[1f54]::{impl#0}::BAR4):
@@ -336,6 +339,7 @@ Thir {
336
339
],
337
340
stmts: [],
338
341
params: [],
342
+ pats: [],
339
343
}
340
344
341
345
DefId(0:12 ~ thir_flat_const_variant[1f54]::main):
@@ -388,5 +392,6 @@ Thir {
388
392
],
389
393
stmts: [],
390
394
params: [],
395
+ pats: [],
391
396
}
392
397
Original file line number Diff line number Diff line change 48
48
],
49
49
stmts: [],
50
50
params: [],
51
+ pats: [],
51
52
}
52
53
You can’t perform that action at this time.
0 commit comments