Desugar while let into loop { match { ... } }
This commit is contained in:
parent
0c2c8116a3
commit
b003f10449
2 changed files with 10 additions and 1 deletions
|
|
@ -581,7 +581,8 @@ pub struct QPath {
|
|||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
pub enum MatchSource {
|
||||
MatchNormal,
|
||||
MatchIfLetDesugar
|
||||
MatchIfLetDesugar,
|
||||
MatchWhileLetDesugar,
|
||||
}
|
||||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue