File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -510,11 +510,17 @@ pub trait Visitor<'v>: Sized {
510
510
pub trait VisitorExt < ' v > : Visitor < ' v > {
511
511
/// Extension trait method to visit types in unambiguous positions, this is not
512
512
/// directly on the [`Visitor`] trait as this method should never be overridden.
513
+ ///
514
+ /// Named `visit_ty_unambig` instead of `visit_unambig_ty` to aid in discovery
515
+ /// by IDes when `v.visit_ty` is written.
513
516
fn visit_ty_unambig ( & mut self , t : & ' v Ty < ' v > ) -> Self :: Result {
514
517
walk_unambig_ty ( self , t)
515
518
}
516
519
/// Extension trait method to visit consts in unambiguous positions, this is not
517
520
/// directly on the [`Visitor`] trait as this method should never be overridden.
521
+ ///
522
+ /// Named `visit_const_arg_unambig` instead of `visit_unambig_const_arg` to aid in
523
+ /// discovery by IDes when `v.visit_const_arg` is written.
518
524
fn visit_const_arg_unambig ( & mut self , c : & ' v ConstArg < ' v > ) -> Self :: Result {
519
525
walk_const_arg ( self , c)
520
526
}
You can’t perform that action at this time.
0 commit comments