-
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 15 pull requests #89545
Rollup of 15 pull requests #89545
Commits on Sep 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4f5563d - Browse repository at this point
Copy the full SHA 4f5563dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e7f8a - Browse repository at this point
Copy the full SHA 77e7f8aView commit details
Commits on Sep 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d8dae4f - Browse repository at this point
Copy the full SHA d8dae4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1616c - Browse repository at this point
Copy the full SHA ca1616cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a0403 - Browse repository at this point
Copy the full SHA 52a0403View commit details
Commits on Sep 30, 2021
-
Elaborate predicates in min_specialization checks
Supertraits of specialization markers could circumvent checks for min_specialization. Elaborating predicates prevents this.
Configuration menu - View commit details
-
Copy full SHA for c8f86ca - Browse repository at this point
Copy the full SHA c8f86caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 051d5b0 - Browse repository at this point
Copy the full SHA 051d5b0View commit details
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fa4072f - Browse repository at this point
Copy the full SHA fa4072fView commit details
Commits on Oct 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 03cf07f - Browse repository at this point
Copy the full SHA 03cf07fView commit details -
Prevent macro ambiguity errors
The previous macro_rules! parsers failed when an additional modifier was added with ambiguity errors. The error is pretty unclear as to what exactly the cause here is, but this change simplifies the argument parsing code such that the error is avoided.
Configuration menu - View commit details
-
Copy full SHA for e2d3e09 - Browse repository at this point
Copy the full SHA e2d3e09View commit details -
rustdoc: Improve doctest pass's name and module's name
As the docs at the top of the file say, it is an overloaded pass and actually runs two lints.
Configuration menu - View commit details
-
Copy full SHA for abbead7 - Browse repository at this point
Copy the full SHA abbead7View commit details
Commits on Oct 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3da9dea - Browse repository at this point
Copy the full SHA 3da9deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc40430 - Browse repository at this point
Copy the full SHA dc40430View commit details -
Fixed numerus of error message Removed superfluous argument Using pluralize!() instead of code duplication Adjusted a test
Configuration menu - View commit details
-
Copy full SHA for d6a7e74 - Browse repository at this point
Copy the full SHA d6a7e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf19131 - Browse repository at this point
Copy the full SHA cf19131View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9626f2b - Browse repository at this point
Copy the full SHA 9626f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd6e7c - Browse repository at this point
Copy the full SHA 6dd6e7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e34fd54 - Browse repository at this point
Copy the full SHA e34fd54View commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 55a3c86 - Browse repository at this point
Copy the full SHA 55a3c86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00152d8 - Browse repository at this point
Copy the full SHA 00152d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079c075 - Browse repository at this point
Copy the full SHA 079c075View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d0178 - Browse repository at this point
Copy the full SHA e5d0178View commit details
Commits on Oct 5, 2021
-
Rollup merge of rust-lang#87993 - kornelski:try_reserve_stable, r=jos…
…htriplett Stabilize try_reserve Stabilization PR for the [`try_reserve` feature](rust-lang#48043 (comment)).
Configuration menu - View commit details
-
Copy full SHA for 99e6e3f - Browse repository at this point
Copy the full SHA 99e6e3fView commit details -
Rollup merge of rust-lang#88090 - nbdd0121:inference, r=nikomatsakis
Perform type inference in range pattern Fix rust-lang#88074
Configuration menu - View commit details
-
Copy full SHA for 4f6afee - Browse repository at this point
Copy the full SHA 4f6afeeView commit details -
Rollup merge of rust-lang#88780 - orlp:int-abs-diff, r=m-ou-se
Added abs_diff for integer types. Closes rust-lang#62111.
Configuration menu - View commit details
-
Copy full SHA for 234fa90 - Browse repository at this point
Copy the full SHA 234fa90View commit details -
Rollup merge of rust-lang#89270 - seanyoung:join_fold, r=m-ou-se
path.push() should work as expected on windows verbatim paths On Windows, std::fs::canonicalize() returns an so-called UNC path. UNC paths differ with regular paths because: - This type of path can much longer than a non-UNC path (32k vs 260 characters). - The prefix for a UNC path is ``Component::Prefix(Prefix::DiskVerbatim(..)))`` - No `/` is allowed - No `.` is allowed - No `..` is allowed Rust has poor handling of such paths. If you join a UNC path with a path with any of the above, then this will not work. I've implemented a new method `fn join_fold()` which joins paths and also removes any `.` and `..` from it, and replaces `/` with `\` on Windows. Using this function it is possible to use UNC paths without issue. In addition, this function is useful on Linux too; paths can be appended without having to call `canonicalize()` to remove the `.` and `..`. This PR needs test cases, which can I add. I hope this will a start of a discussion.
Configuration menu - View commit details
-
Copy full SHA for 7aa9ce5 - Browse repository at this point
Copy the full SHA 7aa9ce5View commit details -
Rollup merge of rust-lang#89413 - matthewjasper:spec-marker-fix, r=ni…
…komatsakis Correctly handle supertraits for min_specialization Supertraits of specialization markers could circumvent checks for min_specialization. Elaborating predicates prevents this. r? ````@nikomatsakis````
Configuration menu - View commit details
-
Copy full SHA for 05b4cd6 - Browse repository at this point
Copy the full SHA 05b4cd6View commit details -
Rollup merge of rust-lang#89456 - cuviper:llvm-13, r=nikic
Update to the final LLVM 13.0.0 release
Configuration menu - View commit details
-
Copy full SHA for a19537d - Browse repository at this point
Copy the full SHA a19537dView commit details -
Rollup merge of rust-lang#89466 - Mark-Simulacrum:query-macros, r=oli…
…-obk Fix bug with query modifier parsing The previous macro_rules! parsers failed when an additional modifier was added with ambiguity errors. The error is pretty unclear as to what exactly the cause here is, but this change simplifies the argument parsing code such that the error is avoided. Extracted from other work, and somewhat duplicates 0358edeb5 from rust-lang#85830, but this approach seems a little simpler to me. Not technically currently necessary but seems like a good cleanup.
Configuration menu - View commit details
-
Copy full SHA for 36f173f - Browse repository at this point
Copy the full SHA 36f173fView commit details -
Rollup merge of rust-lang#89473 - FabianWolff:issue-89469, r=joshtrip…
…lett Fix extra `non_snake_case` warning for shorthand field bindings Fixes rust-lang#89469. The problem is the innermost `if` condition here: https://github.com/rust-lang/rust/blob/d14731cb3ced8318d7fc83cbe838f0e7f2fb3b40/compiler/rustc_lint/src/nonstandard_style.rs#L435-L452 This code runs for every `PatKind::Binding`, so if a struct has multiple fields, say A and B, and both are bound in a pattern using shorthands, the call to `self.check_snake_case()` will indeed be skipped in the `check_pat()` call for `A`; but when `check_pat()` is called for `B`, the loop will still iterate over `A`, and `field.ident (= A) != ident (= B)` will be true. I have fixed this by only looking at non-shorthand bindings, and only the binding that `check_pat()` was actually called for.
Configuration menu - View commit details
-
Copy full SHA for c2bfe45 - Browse repository at this point
Copy the full SHA c2bfe45View commit details -
Rollup merge of rust-lang#89474 - camelid:better-pass-name, r=jyn514
rustdoc: Improve doctest pass's name and module's name As the docs at the top of the file say, it is an overloaded pass and actually runs two lints.
Configuration menu - View commit details
-
Copy full SHA for 02b52ca - Browse repository at this point
Copy the full SHA 02b52caView commit details -
Rollup merge of rust-lang#89478 - zvavybir:master, r=jyn514
Fixed numerus of error message When there are redundant trait requirements and these are hidden, a message is generated by the following code snippet: `format!("{} redundant requirements hidden", count)` But if there is only a single hidden requirement, it will still print this message in plural instead of singular.
Configuration menu - View commit details
-
Copy full SHA for ec41455 - Browse repository at this point
Copy the full SHA ec41455View commit details -
Rollup merge of rust-lang#89480 - hameerabbasi:issue-89118-test, r=ja…
…ckh726 Add test for issue 89118. This PR adds a test for issue 89118. Closes rust-lang#89118.
Configuration menu - View commit details
-
Copy full SHA for 25cc28e - Browse repository at this point
Copy the full SHA 25cc28eView commit details -
Rollup merge of rust-lang#89487 - FabianWolff:issue-89396, r=petroche…
…nkov Try to recover from a `=>` -> `=` or `->` typo in a match arm Fixes rust-lang#89396.
Configuration menu - View commit details
-
Copy full SHA for 90e96f9 - Browse repository at this point
Copy the full SHA 90e96f9View commit details -
Rollup merge of rust-lang#89494 - FabianWolff:issue-84075, r=davidtwco
Deny `where` clauses on `auto` traits Fixes rust-lang#84075.
Configuration menu - View commit details
-
Copy full SHA for c9158db - Browse repository at this point
Copy the full SHA c9158dbView commit details -
Rollup merge of rust-lang#89511 - lnicola:rust-analyzer-2021-10-04, r…
…=lnicola ⬆️ rust-analyzer
Configuration menu - View commit details
-
Copy full SHA for 92dbb69 - Browse repository at this point
Copy the full SHA 92dbb69View commit details -
Rollup merge of rust-lang#89536 - RalfJung:miri, r=RalfJung
update Miri Let's get the recent fixes and improvements shipped. r? ````@ghost````
Configuration menu - View commit details
-
Copy full SHA for 2ae8ced - Browse repository at this point
Copy the full SHA 2ae8cedView commit details