-
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 5 pull requests #51379
Rollup of 5 pull requests #51379
Commits on May 29, 2018
-
Issue rust-lang#50974: Suboptimal error in case of duplicate
,
in s……truct constructor
Configuration menu - View commit details
-
Copy full SHA for daa5b81 - Browse repository at this point
Copy the full SHA daa5b81View commit details -
Configuration menu - View commit details
-
Copy full SHA for a66597d - Browse repository at this point
Copy the full SHA a66597dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4558a62 - Browse repository at this point
Copy the full SHA 4558a62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b32ddd - Browse repository at this point
Copy the full SHA 4b32dddView commit details
Commits on May 30, 2018
-
Fix when the help message is displayed
Only display the "remove this comma" suggestion when followed by an identifier
Configuration menu - View commit details
-
Copy full SHA for 8e956e1 - Browse repository at this point
Copy the full SHA 8e956e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18580e2 - Browse repository at this point
Copy the full SHA 18580e2View commit details
Commits on May 31, 2018
-
When NLL has illegal move due to borrowed content, provide feedback a…
…bout why the move wasn't a copy. This should address rust-lang#51190.
Configuration menu - View commit details
-
Copy full SHA for dcc4b16 - Browse repository at this point
Copy the full SHA dcc4b16View commit details -
Drive-by: Make assignment conflict tests in borrowck-vec-pattern-nest…
…ing.rs robust for NLL.
Configuration menu - View commit details
-
Copy full SHA for 74002d1 - Browse repository at this point
Copy the full SHA 74002d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e99f5ec - Browse repository at this point
Copy the full SHA e99f5ecView commit details
Commits on Jun 5, 2018
-
Accept
..
in incorrect position to avoid further errorsWe currently give a specific message when encountering a `..` anywhere other than the end of a pattern. Modify the parser to accept it (while still emitting the error) so that we don't also trigger "missing fields in pattern" errors afterwards.
Configuration menu - View commit details
-
Copy full SHA for 8f4a542 - Browse repository at this point
Copy the full SHA 8f4a542View commit details -
Improve diagnostics for incorrect
..
usageWhen using `..` somewhere other than the end, parse the rest of the pattern correctly while still emitting an error. Add suggestions to either remove trailing `,` or moving the `..` to the end.
Configuration menu - View commit details
-
Copy full SHA for cbc70a0 - Browse repository at this point
Copy the full SHA cbc70a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d66d35b - Browse repository at this point
Copy the full SHA d66d35bView commit details -
[fuchsia] Migrate from launchpad to fdio_spawn_etc
fdio_spawn_etc is the preferred way of creating processes on Fuchsia now.
Configuration menu - View commit details
-
Copy full SHA for aa23aba - Browse repository at this point
Copy the full SHA aa23abaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01559fb - Browse repository at this point
Copy the full SHA 01559fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c0d135 - Browse repository at this point
Copy the full SHA 5c0d135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cb47de - Browse repository at this point
Copy the full SHA 9cb47deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d4886 - Browse repository at this point
Copy the full SHA 78d4886View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13a55e8 - Browse repository at this point
Copy the full SHA 13a55e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848080d - Browse repository at this point
Copy the full SHA 848080dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5950496 - Browse repository at this point
Copy the full SHA 5950496View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a74be6 - Browse repository at this point
Copy the full SHA 8a74be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14d08e5 - Browse repository at this point
Copy the full SHA 14d08e5View commit details -
Rollup merge of rust-lang#51184 - lambtowolf:master, r=nikomatsakis
Issue rust-lang#50974 : Suboptimal error in case of duplicate `,` in struct constructor Fixes rust-lang#50974
Configuration menu - View commit details
-
Copy full SHA for 8e9a5e9 - Browse repository at this point
Copy the full SHA 8e9a5e9View commit details -
Rollup merge of rust-lang#51201 - estebank:dotdot, r=petrochenkov
Accept `..` in incorrect position to avoid further errors We currently give a specific message when encountering a `..` anywhere other than the end of a pattern. Modify the parser to accept it (while still emitting the error) so that we don't also trigger "missing fields in pattern" errors afterwards. Add suggestions to either remove trailing `,` or moving the `..` to the end. Follow up to rust-lang#49268.
Configuration menu - View commit details
-
Copy full SHA for 8ec9f4c - Browse repository at this point
Copy the full SHA 8ec9f4cView commit details -
Rollup merge of rust-lang#51247 - pnkfelix:issue-51190-report-type-mo…
…ved-from-behind-borrow, r=nikomatsakis NLL: report type moved from behind borrow of array/slice When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy. Drive by: While comparing the resulting `.nll.stderr` files to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too. Fix rust-lang#51190
Configuration menu - View commit details
-
Copy full SHA for 26ad9e2 - Browse repository at this point
Copy the full SHA 26ad9e2View commit details -
Rollup merge of rust-lang#51316 - oli-obk:const_err, r=nikomatsakis
Refactor the const eval diagnostic API * no longer report "const eval error" for things that have typeck errors * errors and lints have saner spans and messages * unified the diagnostic logic (const eval errors were slightly different depending on where they were reported, and there was also code duplication between the different reporters) * report errors if an erroneous constant is used inside a promoted (fixes most of rust-lang#50814)
Configuration menu - View commit details
-
Copy full SHA for 7d0d7ea - Browse repository at this point
Copy the full SHA 7d0d7eaView commit details -
Rollup merge of rust-lang#51359 - cramertj:fdio_spawn, r=sfackler
[fuchsia] Migrate from launchpad to fdio_spawn_etc fdio_spawn_etc is the preferred way of creating processes on Fuchsia now. cc @abarth
Configuration menu - View commit details
-
Copy full SHA for 5f2de72 - Browse repository at this point
Copy the full SHA 5f2de72View commit details