File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/librustc_mir/transform Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ struct Collector<'a, 'tcx> {
147
147
ccx : & ' a ConstCx < ' a , ' tcx > ,
148
148
temps : IndexVec < Local , TempState > ,
149
149
candidates : Vec < Candidate > ,
150
- span : Span ,
151
150
}
152
151
153
152
impl < ' tcx > Visitor < ' tcx > for Collector < ' _ , ' tcx > {
@@ -254,10 +253,6 @@ impl<'tcx> Visitor<'tcx> for Collector<'_, 'tcx> {
254
253
_ => { }
255
254
}
256
255
}
257
-
258
- fn visit_source_info ( & mut self , source_info : & SourceInfo ) {
259
- self . span = source_info. span ;
260
- }
261
256
}
262
257
263
258
pub fn collect_temps_and_candidates (
@@ -267,7 +262,6 @@ pub fn collect_temps_and_candidates(
267
262
let mut collector = Collector {
268
263
temps : IndexVec :: from_elem ( TempState :: Undefined , & ccx. body . local_decls ) ,
269
264
candidates : vec ! [ ] ,
270
- span : ccx. body . span ,
271
265
ccx,
272
266
} ;
273
267
for ( bb, data) in rpo {
You can’t perform that action at this time.
0 commit comments