@@ -380,7 +380,7 @@ pub trait Visitor<'v>: Sized {
380380 ///
381381 /// The [`Visitor::visit_infer`] method should be overridden in order to handle infer vars.
382382 fn visit_const_arg ( & mut self , c : & ' v ConstArg < ' v , AmbigArg > ) -> Self :: Result {
383- walk_ambig_const_arg ( self , c)
383+ walk_const_arg ( self , c)
384384 }
385385
386386 #[ allow( unused_variables) ]
@@ -525,7 +525,7 @@ pub trait VisitorExt<'v>: Visitor<'v> {
525525 /// Named `visit_const_arg_unambig` instead of `visit_unambig_const_arg` to aid in
526526 /// discovery by IDes when `v.visit_const_arg` is written.
527527 fn visit_const_arg_unambig ( & mut self , c : & ' v ConstArg < ' v > ) -> Self :: Result {
528- walk_const_arg ( self , c)
528+ walk_unambig_const_arg ( self , c)
529529 }
530530}
531531impl < ' v , V : Visitor < ' v > > VisitorExt < ' v > for V { }
@@ -1038,7 +1038,7 @@ pub fn walk_ty<'v, V: Visitor<'v>>(visitor: &mut V, typ: &'v Ty<'v, AmbigArg>) -
10381038 V :: Result :: output ( )
10391039}
10401040
1041- pub fn walk_const_arg < ' v , V : Visitor < ' v > > (
1041+ pub fn walk_unambig_const_arg < ' v , V : Visitor < ' v > > (
10421042 visitor : & mut V ,
10431043 const_arg : & ' v ConstArg < ' v > ,
10441044) -> V :: Result {
@@ -1052,7 +1052,7 @@ pub fn walk_const_arg<'v, V: Visitor<'v>>(
10521052 }
10531053}
10541054
1055- pub fn walk_ambig_const_arg < ' v , V : Visitor < ' v > > (
1055+ pub fn walk_const_arg < ' v , V : Visitor < ' v > > (
10561056 visitor : & mut V ,
10571057 const_arg : & ' v ConstArg < ' v , AmbigArg > ,
10581058) -> V :: Result {
0 commit comments