-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 8 pull requests #60683
Rollup of 8 pull requests #60683
Commits on Apr 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 902904a - Browse repository at this point
Copy the full SHA 902904aView commit details
Commits on Apr 29, 2019
-
Identify when a stmt could have been parsed as an expr
There are some expressions that can be parsed as a statement without a trailing semicolon depending on the context, which can lead to confusing errors due to the same looking code being accepted in some places and not others. Identify these cases and suggest enclosing in parenthesis making the parse non-ambiguous without changing the accepted grammar.
Configuration menu - View commit details
-
Copy full SHA for f007e6f - Browse repository at this point
Copy the full SHA f007e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bff0be3 - Browse repository at this point
Copy the full SHA bff0be3View commit details
Commits on May 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 617ce2b - Browse repository at this point
Copy the full SHA 617ce2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 145add7 - Browse repository at this point
Copy the full SHA 145add7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fff547 - Browse repository at this point
Copy the full SHA 6fff547View commit details
Commits on May 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e0cef5c - Browse repository at this point
Copy the full SHA e0cef5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a4b52 - Browse repository at this point
Copy the full SHA f6a4b52View commit details
Commits on May 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6d26c5f - Browse repository at this point
Copy the full SHA 6d26c5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54430ad - Browse repository at this point
Copy the full SHA 54430adView commit details
Commits on May 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 606bb6f - Browse repository at this point
Copy the full SHA 606bb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db665b - Browse repository at this point
Copy the full SHA 5db665bView commit details
Commits on May 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for eb7d47c - Browse repository at this point
Copy the full SHA eb7d47cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0ba8fe - Browse repository at this point
Copy the full SHA d0ba8feView commit details
Commits on May 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b2f71fb - Browse repository at this point
Copy the full SHA b2f71fbView commit details -
Add regression test for rust-lang#60674.
This commit adds a regression test (with current broken behaviour) that tests that `mut` patterns are not lost when provided as input to a proc macro.
Configuration menu - View commit details
-
Copy full SHA for e57c7b8 - Browse repository at this point
Copy the full SHA e57c7b8View commit details -
This doesn't work anymore, and its continued presence is cause for confusion.
Configuration menu - View commit details
-
Copy full SHA for df41e4f - Browse repository at this point
Copy the full SHA df41e4fView commit details -
Do not modify mutability of simple bindings.
This commit removes the modification of the mutability of simple bindings. While the mutability isn't used, it is important that it is kept so that the input to procedural macros matches what the user wrote. This commit also modifies the span of the binding mode so that it is considered a compiler desugaring and won't be linted against for being unused..
Configuration menu - View commit details
-
Copy full SHA for dcd3cf7 - Browse repository at this point
Copy the full SHA dcd3cf7View commit details -
Add FIXME about
construct_async_arguments
.This is unrelated to the rest of this PR but it made sense to add a FIXME explaining that the function shouldn't really be in the parser.
Configuration menu - View commit details
-
Copy full SHA for d5e0406 - Browse repository at this point
Copy the full SHA d5e0406View commit details -
Rollup merge of rust-lang#59348 - matthewjasper:cleanup-drop-shims, r…
…=arielb1 Clean up and add tests for slice drop shims Adds a test for the MIR generated by `real_drop_in_place::<[T]>`. Also slightly reduces the number of statements and locals used in the shim. r? @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 62ab971 - Browse repository at this point
Copy the full SHA 62ab971View commit details -
Rollup merge of rust-lang#60188 - estebank:recover-block, r=varkor
Identify when a stmt could have been parsed as an expr There are some expressions that can be parsed as a statement without a trailing semicolon depending on the context, which can lead to confusing errors due to the same looking code being accepted in some places and not others. Identify these cases and suggest enclosing in parenthesis making the parse non-ambiguous without changing the accepted grammar. Fix rust-lang#54186, cc rust-lang#54482, fix rust-lang#59975, fix rust-lang#47287.
Configuration menu - View commit details
-
Copy full SHA for 39edc68 - Browse repository at this point
Copy the full SHA 39edc68View commit details -
Rollup merge of rust-lang#60234 - tesaguri:cursor-default, r=Amanieu
std: Derive `Default` for `io::Cursor` I think this change is quite obvious, so made it insta-stable, but I won't insist on that.
Configuration menu - View commit details
-
Copy full SHA for bd17b5c - Browse repository at this point
Copy the full SHA bd17b5cView commit details -
Rollup merge of rust-lang#60618 - mark-i-m:transcribe, r=petrochenkov
Comment ext::tt::transcribe Also did a bit of minor cleanup (remove unidiomatic use of `Add` and an unneeded `clone`). No functionality changes. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 903fc4b - Browse repository at this point
Copy the full SHA 903fc4bView commit details -
Rollup merge of rust-lang#60648 - petrochenkov:shorten2, r=Dylan-DPC
Skip codegen for one UI test with long file path The path to this test is so long that object files produced by it hit some path length limit on Windows and linker cannot find them. The workaround here is to skip codegen and avoid producing object files, this test doesn't need them anyway.
Configuration menu - View commit details
-
Copy full SHA for e7b4023 - Browse repository at this point
Copy the full SHA e7b4023View commit details -
Rollup merge of rust-lang#60671 - euclio:extern-crate, r=Centril
remove unneeded `extern crate`s from build tools
Configuration menu - View commit details
-
Copy full SHA for f27f14b - Browse repository at this point
Copy the full SHA f27f14bView commit details -
Rollup merge of rust-lang#60675 - cramertj:no-await-macro, r=nikomats…
…akis,Centril Remove the old await! macro This doesn't work anymore, and its continued presence is cause for confusion. `yield` can no longer be used to return `Pending` from an `async` body. cc rust-lang#60660 cc @taiki-e cc tokio-rs/tokio#1080
Configuration menu - View commit details
-
Copy full SHA for f6df1f6 - Browse repository at this point
Copy the full SHA f6df1f6View commit details -
Rollup merge of rust-lang#60676 - davidtwco:issue-60674, r=cramertj
Fix async desugaring providing wrong input to procedural macros. Fixes rust-lang#60674. This PR fixes a minor oversight introduced by rust-lang#60535 where unused `mut` binding modes were removed from the arguments to an `async fn` (as they were added to the statement that we insert into the closure body). However, this meant that the input to procedural macros was incorrect. This removes that and instead fixes the `unused_mut` error that it avoided. r? @cramertj cc @taiki-e
Configuration menu - View commit details
-
Copy full SHA for 45b0945 - Browse repository at this point
Copy the full SHA 45b0945View commit details