-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupport the await!(future)
macro
#62293
Conversation
FYI I'd personally love it if we could hold off on landing this until after I've had a chance to get Fuchsia updated, which has been blocked on #62088 (which should now be addressed once #62287 lands). With out it, I can't do a gradual transition, and it's a great deal of coordination and effort to make the change across multiple repos at once. That said, if someone's dying to have this land (e.g. if it significantly improves diagnostics or something) then I can deal with it ;) |
@cramertj That's fine by me; I'll split out a PR from this one to switch all testing as much as possible to EDIT: Tomorrow... 😴 time. |
Lifted out parts of this PR into #62324. |
This comment has been minimized.
This comment has been minimized.
f2a4015
to
cd89106
Compare
Rebased atop of #62324 (still blocked on things mentioned in #62293 (comment) tho). |
#62287 has landed. |
This comment has been minimized.
This comment has been minimized.
cd89106
to
6b14c32
Compare
Rebased and the tests pass now. @cramertj How is the update going for Fuchsia? |
@Centril Toolstate is currently broken. I'll follow up here when this can land safely. |
This comment has been minimized.
This comment has been minimized.
67d5342
to
7ef821c
Compare
This comment has been minimized.
This comment has been minimized.
7ef821c
to
8a0dcfb
Compare
This comment has been minimized.
This comment has been minimized.
8a0dcfb
to
02bb3a7
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
c4141f9
to
b21f0a3
Compare
I've successfully rolled the toolchain in fuchsia and we're actively migrating to @bors r+ |
📌 Commit b21f0a3 has been approved by |
Unsupport the `await!(future)` macro Unsupport the `await!(future)` "macro" and recognize it in error recovery instead. The `future.await` syntax has been on nightly since 2019-05-08. This was 55 days ago which is 1.31 releases ago. Closes rust-lang#60610. r? @cramertj
Rollup of 7 pull requests Successful merges: - #62293 (Unsupport the `await!(future)` macro) - #62469 (Add doc links to liballoc crate page) - #63095 (Turn `INCOMPLETE_FEATURES` into lint) - #63117 (Use global variable 'environ' to pass environments to rtpSpawn) - #63123 (`const fn`-ify `std::any::type_name` as laid out in #63084) - #63129 (Subslice patterns: Test passing static & dynamic semantics.) - #63147 (Updated RELEASES.md for 1.37.0) Failed merges: r? @ghost
Adapting for changes due to rust-lang/rust#62293
This was missed in PR rust-lang#62293.
…Centril Remove leftover AwaitOrigin This was missed in PR rust-lang#62293.
…Centril Remove leftover AwaitOrigin This was missed in PR rust-lang#62293.
…Centril Remove leftover AwaitOrigin This was missed in PR rust-lang#62293.
…Centril Remove leftover AwaitOrigin This was missed in PR rust-lang#62293.
Unsupport the
await!(future)
"macro" and recognize it in error recovery instead.The
future.await
syntax has been on nightly since 2019-05-08.This was 55 days ago which is 1.31 releases ago.
Closes #60610.
r? @cramertj