about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-05-02 05:55:20 +0200
committerest31 <MTest31@outlook.com>2017-05-02 05:55:20 +0200
commitd290849a233bb2b06b01167c242b3886d2cf8681 (patch)
tree0153668c60127400b8e7fc39ad0f1077fd05e616 /src/libsyntax
parent4cb396c68088f38e517ac8890030d17a969e57ba (diff)
downloadrust-d290849a233bb2b06b01167c242b3886d2cf8681.tar.gz
rust-d290849a233bb2b06b01167c242b3886d2cf8681.zip
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.
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,