-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Point at the right enclosing scope when using await
in non-async fn
#63509
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
This is beta-nominated for 1.38 right? |
This comment has been minimized.
This comment has been minimized.
@pietroalbini correct, I'm aware of the current release and it'd be against procedure to include it in 1.37. |
Great! I was a bit confused since 1.38 didn't branch out to beta yet 😅 |
r=me if you like with nit ^-- addressed |
📌 Commit 25d507f has been approved by |
Point at the right enclosing scope when using `await` in non-async fn Fix rust-lang#63398.
Point at the right enclosing scope when using `await` in non-async fn Fix rust-lang#63398.
Point at the right enclosing scope when using `await` in non-async fn Fix rust-lang#63398.
Rollup of 10 pull requests Successful merges: - #62984 (Add lint for excess trailing semicolons) - #63075 (Miri: Check that a ptr is aligned and inbounds already when evaluating `*`) - #63490 (libsyntax: cleanup and refactor `pat.rs`) - #63495 ( Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::PatternRange`.) - #63509 (Point at the right enclosing scope when using `await` in non-async fn) - #63528 (syntax: Remove `DummyResult::expr_only`) - #63534 (Bump to 1.39) - #63537 (expand: Unimplement `MutVisitor` on `MacroExpander`) - #63542 (Add NodeId for Arm, Field and FieldPat) - #63560 (move test that shouldn't be in test/run-pass/) Failed merges: r? @ghost
@estebank could you try to see if |
Can't see how it could have, but I'll do so soon. |
Yeah no; this PR is not at fault. |
Point at the right enclosing scope when using `await` in non-async fn Fix rust-lang#63398.
Rollup of 11 pull requests Successful merges: - #62984 (Add lint for excess trailing semicolons) - #63075 (Miri: Check that a ptr is aligned and inbounds already when evaluating `*`) - #63490 (libsyntax: cleanup and refactor `pat.rs`) - #63507 (When needing type annotations in local bindings, account for impl Trait and closures) - #63509 (Point at the right enclosing scope when using `await` in non-async fn) - #63528 (syntax: Remove `DummyResult::expr_only`) - #63537 (expand: Unimplement `MutVisitor` on `MacroExpander`) - #63542 (Add NodeId for Arm, Field and FieldPat) - #63543 (Merge Variant and Variant_) - #63560 (move test that shouldn't be in test/run-pass/) - #63570 (Adjust tracking issues for `MaybeUninit<T>` gates) Failed merges: r? @ghost
We decided not to accept this for beta since async-await didn't make the beta cut. |
Fix #63398.