about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-03 17:29:07 +0200
committerGitHub <noreply@github.com>2023-08-03 17:29:07 +0200
commit649d0a9525d24b83881fa632c0012d849bfd9119 (patch)
treec20576039d198c7a4c5645f315ed018e1a9fdd62 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent7518ae566ef8f0f36f07683e6bbebbd2fa4402d1 (diff)
parent8e32dade71ad57978786537ec41c13222fd14611 (diff)
downloadrust-649d0a9525d24b83881fa632c0012d849bfd9119.tar.gz
rust-649d0a9525d24b83881fa632c0012d849bfd9119.zip
Rollup merge of #114237 - bvanjoi:fix-114219, r=cjgillot
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions