1
Fork 0

Fix parser test

This commit is contained in:
Niko Matsakis 2013-05-30 21:01:25 -04:00
parent 21951e503d
commit ce5fd30270
4 changed files with 3 additions and 26 deletions

View file

@ -14,7 +14,7 @@ enum opts {
fn matcher1(x: opts) {
match x {
a(ref i) | b(copy i) => {} //~ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
a(ref i) | b(i) => {} //~ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
c(_) => {}
}
}