@@ -511,7 +511,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValidityVisitor<'rt, 'mir, '
511511 Ok ( true )
512512 }
513513 ty:: Float ( _) | ty:: Int ( _) | ty:: Uint ( _) => {
514- // tidy-ticket-try_visit_primitive
514+ // tidy-keep-sync-with=tidy- ticket-try_visit_primitive
515515 // NOTE: Keep this in sync with the array optimization for int/float
516516 // types below!
517517 self . read_scalar (
@@ -523,7 +523,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValidityVisitor<'rt, 'mir, '
523523 } ,
524524 ) ?;
525525 Ok ( true )
526- // tidy-ticket-try_visit_primitive
526+ // tidy-keep-sync-with=tidy- ticket-try_visit_primitive
527527 }
528528 ty:: RawPtr ( ..) => {
529529 let place =
@@ -786,7 +786,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx, M>
786786 }
787787 } ;
788788
789- // tidy-ticket-visit_value
789+ // tidy-keep-sync-with=tidy- ticket-visit_value
790790 // Optimization: we just check the entire range at once.
791791 // NOTE: Keep this in sync with the handling of integer and float
792792 // types above, in `try_visit_primitive`.
@@ -823,7 +823,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx, M>
823823 }
824824 }
825825 }
826- // tidy-ticket-visit_value
826+ // tidy-keep-sync-with=tidy- ticket-visit_value
827827 }
828828 // Fast path for arrays and slices of ZSTs. We only need to check a single ZST element
829829 // of an array and not all of them, because there's only a single value of a specific
0 commit comments