librustc: Implement moves based on type. r=nmatsakis
This commit is contained in:
parent
f02e9db212
commit
33c1e47c1b
19 changed files with 363 additions and 47 deletions
|
@ -100,8 +100,8 @@ enum matcher_pos_up { /* to break a circularity */
|
|||
}
|
||||
|
||||
fn is_some(&&mpu: matcher_pos_up) -> bool {
|
||||
match mpu {
|
||||
matcher_pos_up(None) => false,
|
||||
match &mpu {
|
||||
&matcher_pos_up(None) => false,
|
||||
_ => true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue