mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
parent
27972a6def
commit
122f714fde
@ -172,6 +172,7 @@ fn visit_pat<E>(p: @pat, e: E, v: vt<E>) {
|
||||
}
|
||||
pat_tup(elts) { for elt in elts { v.visit_pat(elt, e, v); } }
|
||||
pat_box(inner) { v.visit_pat(inner, e, v); }
|
||||
pat_uniq(inner) { v.visit_pat(inner, e, v); }
|
||||
_ { }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
// xfail-test
|
||||
fn main() {
|
||||
let x = ~{mutable a: ~10, b: ~20};
|
||||
alt x {
|
||||
|
@ -1,5 +1,3 @@
|
||||
// xfail-test
|
||||
|
||||
type foo = {a: int, b: uint};
|
||||
tag bar { u(~foo); w(int); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user