@@ -290,6 +290,10 @@ impl<'tcx> AnalysisDomain<'tcx> for MaybeInitializedPlaces<'_, 'tcx> {
290290impl < ' tcx > GenKillAnalysis < ' tcx > for MaybeInitializedPlaces < ' _ , ' tcx > {
291291 type Idx = MovePathIndex ;
292292
293+ fn domain_size ( & self , _: & Body < ' tcx > ) -> usize {
294+ self . move_data ( ) . move_paths . len ( )
295+ }
296+
293297 fn statement_effect (
294298 & mut self ,
295299 trans : & mut impl GenKill < Self :: Idx > ,
@@ -416,6 +420,10 @@ impl<'tcx> AnalysisDomain<'tcx> for MaybeUninitializedPlaces<'_, 'tcx> {
416420impl < ' tcx > GenKillAnalysis < ' tcx > for MaybeUninitializedPlaces < ' _ , ' tcx > {
417421 type Idx = MovePathIndex ;
418422
423+ fn domain_size ( & self , _: & Body < ' tcx > ) -> usize {
424+ self . move_data ( ) . move_paths . len ( )
425+ }
426+
419427 fn statement_effect (
420428 & mut self ,
421429 trans : & mut impl GenKill < Self :: Idx > ,
@@ -536,6 +544,10 @@ impl<'a, 'tcx> AnalysisDomain<'tcx> for DefinitelyInitializedPlaces<'a, 'tcx> {
536544impl < ' tcx > GenKillAnalysis < ' tcx > for DefinitelyInitializedPlaces < ' _ , ' tcx > {
537545 type Idx = MovePathIndex ;
538546
547+ fn domain_size ( & self , _: & Body < ' tcx > ) -> usize {
548+ self . move_data ( ) . move_paths . len ( )
549+ }
550+
539551 fn statement_effect (
540552 & mut self ,
541553 trans : & mut impl GenKill < Self :: Idx > ,
@@ -600,6 +612,10 @@ impl<'tcx> AnalysisDomain<'tcx> for EverInitializedPlaces<'_, 'tcx> {
600612impl < ' tcx > GenKillAnalysis < ' tcx > for EverInitializedPlaces < ' _ , ' tcx > {
601613 type Idx = InitIndex ;
602614
615+ fn domain_size ( & self , _: & Body < ' tcx > ) -> usize {
616+ self . move_data ( ) . inits . len ( )
617+ }
618+
603619 #[ instrument( skip( self , trans) , level = "debug" ) ]
604620 fn statement_effect (
605621 & mut self ,
0 commit comments