1
Fork 0

Remove copy bindings from patterns.

This commit is contained in:
Niko Matsakis 2013-05-29 19:59:33 -04:00
parent 5209709e46
commit 7a1a40890d
34 changed files with 176 additions and 201 deletions

View file

@ -487,7 +487,7 @@ mod test {
let parser = string_to_parser(@~"b");
assert_eq!(parser.parse_pat(false),
@ast::pat{id:1, // fixme
node: ast::pat_ident(ast::bind_by_copy,
node: ast::pat_ident(ast::bind_infer,
@ast::Path{
span:sp(0,1),
global:false,
@ -516,7 +516,7 @@ mod test {
2),
span:sp(4,7)},
pat: @ast::pat{id:1,
node: ast::pat_ident(ast::bind_by_copy,
node: ast::pat_ident(ast::bind_infer,
@ast::Path{
span:sp(0,1),
global:false,
@ -553,7 +553,7 @@ mod test {
span:sp(10,13)},
pat: @ast::pat{id:1, // fixme
node: ast::pat_ident(
ast::bind_by_copy,
ast::bind_infer,
@ast::Path{
span:sp(6,7),
global:false,