Revert "Print copy patterns correctly"
This reverts commit ea6819637382e7f8979766b954dd2a1922d0dee0.
This commit is contained in:
@@ -1554,10 +1554,8 @@ fn print_pat(s: ps, &&pat: @ast::pat) {
|
|||||||
ast::bind_by_move => {
|
ast::bind_by_move => {
|
||||||
word_nbsp(s, ~"move");
|
word_nbsp(s, ~"move");
|
||||||
}
|
}
|
||||||
ast::bind_by_implicit_ref => {}
|
ast::bind_by_implicit_ref |
|
||||||
ast::bind_by_value => {
|
ast::bind_by_value => {}
|
||||||
word_nbsp(s, ~"copy");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
print_path(s, path, true);
|
print_path(s, path, true);
|
||||||
match sub {
|
match sub {
|
||||||
|
|||||||
Reference in New Issue
Block a user