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> {
147147 ccx : & ' a ConstCx < ' a , ' tcx > ,
148148 temps : IndexVec < Local , TempState > ,
149149 candidates : Vec < Candidate > ,
150- span : Span ,
151150}
152151
153152impl < ' tcx > Visitor < ' tcx > for Collector < ' _ , ' tcx > {
@@ -254,10 +253,6 @@ impl<'tcx> Visitor<'tcx> for Collector<'_, 'tcx> {
254253 _ => { }
255254 }
256255 }
257-
258- fn visit_source_info ( & mut self , source_info : & SourceInfo ) {
259- self . span = source_info. span ;
260- }
261256}
262257
263258pub fn collect_temps_and_candidates (
@@ -267,7 +262,6 @@ pub fn collect_temps_and_candidates(
267262 let mut collector = Collector {
268263 temps : IndexVec :: from_elem ( TempState :: Undefined , & ccx. body . local_decls ) ,
269264 candidates : vec ! [ ] ,
270- span : ccx. body . span ,
271265 ccx,
272266 } ;
273267 for ( bb, data) in rpo {
You can’t perform that action at this time.
0 commit comments