@@ -964,7 +964,7 @@ impl<'tcx> ResultsVisitor<'tcx, ConstAnalysis<'_, 'tcx>> for Collector<'_, 'tcx>
964964 #[ instrument( level = "trace" , skip( self , analysis, statement) ) ]
965965 fn visit_after_early_statement_effect (
966966 & mut self ,
967- analysis : & mut ConstAnalysis < ' _ , ' tcx > ,
967+ analysis : & ConstAnalysis < ' _ , ' tcx > ,
968968 state : & State < FlatSet < Scalar > > ,
969969 statement : & Statement < ' tcx > ,
970970 location : Location ,
@@ -986,7 +986,7 @@ impl<'tcx> ResultsVisitor<'tcx, ConstAnalysis<'_, 'tcx>> for Collector<'_, 'tcx>
986986 #[ instrument( level = "trace" , skip( self , analysis, statement) ) ]
987987 fn visit_after_primary_statement_effect (
988988 & mut self ,
989- analysis : & mut ConstAnalysis < ' _ , ' tcx > ,
989+ analysis : & ConstAnalysis < ' _ , ' tcx > ,
990990 state : & State < FlatSet < Scalar > > ,
991991 statement : & Statement < ' tcx > ,
992992 location : Location ,
@@ -1011,7 +1011,7 @@ impl<'tcx> ResultsVisitor<'tcx, ConstAnalysis<'_, 'tcx>> for Collector<'_, 'tcx>
10111011
10121012 fn visit_after_early_terminator_effect (
10131013 & mut self ,
1014- analysis : & mut ConstAnalysis < ' _ , ' tcx > ,
1014+ analysis : & ConstAnalysis < ' _ , ' tcx > ,
10151015 state : & State < FlatSet < Scalar > > ,
10161016 terminator : & Terminator < ' tcx > ,
10171017 location : Location ,
0 commit comments