about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-05-02 09:09:59 -0400
committerGitHub <noreply@github.com>2017-05-02 09:09:59 -0400
commite0bfd19add662c07eb102818ce579315ddc90094 (patch)
treee601e5cd7b9083ee15e34d52410fb436fd715acd /src/libsyntax
parent4733ee7eb4be269e751e913fd1be1382ce9bf6d6 (diff)
parent14bbd0a5a3722bdcb4c5f36d81097e1fb992add3 (diff)
downloadrust-e0bfd19add662c07eb102818ce579315ddc90094.tar.gz
rust-e0bfd19add662c07eb102818ce579315ddc90094.zip
Rollup merge of #41693 - est31:anon_params_removal, r=eddyb
Removal pass for anonymous parameters

Removes occurences of anonymous parameters from the
rustc codebase, as they are to be deprecated.

See issue #41686 and RFC 1685.

r? @frewsxcv
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs
index e0fb46ff5eb..09f22e8691e 100644
--- a/src/libsyntax/ext/build.rs
+++ b/src/libsyntax/ext/build.rs
@@ -52,7 +52,7 @@ pub trait AstBuilder {
     fn ty_mt(&self, ty: P<ast::Ty>, mutbl: ast::Mutability) -> ast::MutTy;
 
     fn ty(&self, span: Span, ty: ast::TyKind) -> P<ast::Ty>;
-    fn ty_path(&self, ast::Path) -> P<ast::Ty>;
+    fn ty_path(&self, path: ast::Path) -> P<ast::Ty>;
     fn ty_ident(&self, span: Span, idents: ast::Ident) -> P<ast::Ty>;
 
     fn ty_rptr(&self, span: Span,