Closures are not generated code.

This commit is contained in:
Nick Cameron 2015-08-31 17:06:30 +12:00
parent 8f28c9b01e
commit ef4853041a
2 changed files with 1 additions and 6 deletions

View file

@ -275,7 +275,6 @@ pub enum CompilerExpansionFormat {
PlacementIn,
WhileLet,
ForLoop,
Closure,
}
impl CompilerExpansionFormat {
@ -285,7 +284,6 @@ impl CompilerExpansionFormat {
CompilerExpansionFormat::PlacementIn => "placement-in expansion",
CompilerExpansionFormat::WhileLet => "while let expansion",
CompilerExpansionFormat::ForLoop => "for loop expansion",
CompilerExpansionFormat::Closure => "closure expansion",
}
}
}