Simplify for loop desugar
This commit is contained in:
parent
3bfde2f1f4
commit
9c83f8c4d1
26 changed files with 181 additions and 256 deletions
|
@ -1821,8 +1821,6 @@ impl<'hir> QPath<'hir> {
|
|||
pub enum LocalSource {
|
||||
/// A `match _ { .. }`.
|
||||
Normal,
|
||||
/// A desugared `for _ in _ { .. }` loop.
|
||||
ForLoopDesugar,
|
||||
/// When lowering async functions, we create locals within the `async move` so that
|
||||
/// all parameters are dropped after the future is polled.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue