Centralize box pattern tests in patterns.rs

This commit is contained in:
Dylan MacKenzie
2019-08-23 16:19:23 -07:00
parent 1e991f2eaf
commit 83433cd1f0
3 changed files with 6 additions and 7 deletions

View File

@@ -269,11 +269,6 @@ fn bind_pat(p: &mut Parser, with_at: bool) -> CompletedMarker {
m.complete(p, BIND_PAT)
}
// test_err ref_box_pat
// fn main() {
// let ref box i = ();
// }
// test box_pat
// fn main() {
// let box i = ();