We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1c3c4e commit e6d5f25Copy full SHA for e6d5f25
src/librustc_passes/ast_validation.rs
@@ -519,7 +519,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
519
if let Some(ref type_) = data.output {
520
// `-> Foo` syntax is essentially an associated type binding,
521
// so it is also allowed to contain nested `impl Trait`.
522
- self.with_impl_trait(None, |this| visit::walk_ty(this, type_));
+ self.with_impl_trait(None, |this| this.visit_ty(type_));
523
}
524
525
0 commit comments