diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-01-30 00:50:27 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-01-30 21:26:49 +0100 |
| commit | e6d5f251f11f4ac74f23748b665a29f0ceddfdda (patch) | |
| tree | 1d627ddc1ec39db1fc511be7c285103b43098232 | |
| parent | c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 (diff) | |
| download | rust-e6d5f251f11f4ac74f23748b665a29f0ceddfdda.tar.gz rust-e6d5f251f11f4ac74f23748b665a29f0ceddfdda.zip | |
Fix #57730
| -rw-r--r-- | src/librustc_passes/ast_validation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_passes/ast_validation.rs b/src/librustc_passes/ast_validation.rs index 3deb2ff8d8a..bad1367a89a 100644 --- a/src/librustc_passes/ast_validation.rs +++ b/src/librustc_passes/ast_validation.rs @@ -519,7 +519,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> { if let Some(ref type_) = data.output { // `-> Foo` syntax is essentially an associated type binding, // so it is also allowed to contain nested `impl Trait`. - self.with_impl_trait(None, |this| visit::walk_ty(this, type_)); + self.with_impl_trait(None, |this| this.visit_ty(type_)); } } } |
