Update E0302 to the new format
This commit is contained in:
parent
f55ac6944a
commit
5402d28fe7
2 changed files with 4 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ fn main() {
|
|||
match Some(()) {
|
||||
None => { },
|
||||
option if { option = None; false } => { }, //~ ERROR E0302
|
||||
//~| NOTE assignment in pattern guard
|
||||
Some(_) => { }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue