Remove copy bindings from patterns.
This commit is contained in:
parent
5209709e46
commit
7a1a40890d
34 changed files with 176 additions and 201 deletions
|
@ -560,7 +560,7 @@ impl AstBuilder for @ExtCtxt {
|
|||
self.pat(span, ast::pat_lit(expr))
|
||||
}
|
||||
fn pat_ident(&self, span: span, ident: ast::ident) -> @ast::pat {
|
||||
self.pat_ident_binding_mode(span, ident, ast::bind_by_copy)
|
||||
self.pat_ident_binding_mode(span, ident, ast::bind_infer)
|
||||
}
|
||||
|
||||
fn pat_ident_binding_mode(&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue