mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 14:07:36 +00:00
![]() parser: more friendly hints for handling `async move` in the 2015 edition Fixes #114219 An error is emitted when encountering an async move block in the 2015 edition. Another appropriate location to raise an error is after executing [let path = this.parse_path(PathStyle::Expr)?](https://github.com/rust-lang/rust/blob/master/compiler/rustc_parse/src/parser/stmt.rs#L152), but it seems somewhat premature to invoke `create_err` at that stage. |
||
---|---|---|
.. | ||
attr_wrapper.rs | ||
attr.rs | ||
diagnostics.rs | ||
expr.rs | ||
generics.rs | ||
item.rs | ||
mod.rs | ||
nonterminal.rs | ||
pat.rs | ||
path.rs | ||
stmt.rs | ||
ty.rs |