Fix parser test
This commit is contained in:
parent
21951e503d
commit
ce5fd30270
4 changed files with 3 additions and 26 deletions
|
@ -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(_) => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue