-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Comparing changes
Open a pull request
base repository: rust-lang/rust
base: master
head repository: Manishearth/rust
compare: rollup-kul0c2d
- 18 commits
- 87 files changed
- 2 contributors
Commits on Oct 2, 2021
-
Query the fingerprint style during key reconstruction
Keys can be reconstructed from fingerprints that are not DefPathHash, but then we cannot extract a DefId from them.
Configuration menu - View commit details
-
Copy full SHA for 0a82acc - Browse repository at this point
Copy the full SHA 0a82accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63aaf88 - Browse repository at this point
Copy the full SHA 63aaf88View commit details
Commits on Oct 5, 2021
-
Rollup merge of #87993 - kornelski:try_reserve_stable, r=joshtriplett
Stabilize try_reserve Stabilization PR for the [`try_reserve` feature](#48043 (comment)).
Configuration menu - View commit details
-
Copy full SHA for 279cb9c - Browse repository at this point
Copy the full SHA 279cb9cView commit details -
Rollup merge of #88090 - nbdd0121:inference, r=nikomatsakis
Perform type inference in range pattern Fix #88074
Configuration menu - View commit details
-
Copy full SHA for d87f3f3 - Browse repository at this point
Copy the full SHA d87f3f3View commit details -
Rollup merge of #88780 - orlp:int-abs-diff, r=m-ou-se
Added abs_diff for integer types. Closes #62111.
Configuration menu - View commit details
-
Copy full SHA for c146ff5 - Browse repository at this point
Copy the full SHA c146ff5View commit details -
Rollup merge of #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 5ae7df6 - Browse repository at this point
Copy the full SHA 5ae7df6View commit details -
Rollup merge of #89343 - Mark-Simulacrum:no-args-queries, r=cjgillot
Refactor fingerprint reconstruction This PR replaces can_reconstruct_query_key with fingerprint_style, which returns the style of the fingerprint for that query. This allows us to avoid trying to extract a DefId (or equivalent) from keys which *are* reconstructible because they're () but not as DefIds. This is done with the goal of fixing -Zdump-dep-graph, which seems to have broken a while ago (I didn't try to bisect). Currently even on a `fn main() {}` file it'll ICE (you need to also pass -Zquery-dep-graph for it to work at all), and this patch indirectly fixes the cause of that ICE. This also adds a test for it continuing to work.
Configuration menu - View commit details
-
Copy full SHA for 2615975 - Browse repository at this point
Copy the full SHA 2615975View commit details -
Rollup merge of #89413 - matthewjasper:spec-marker-fix, r=nikomatsakis
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 c430524 - Browse repository at this point
Copy the full SHA c430524View commit details -
Rollup merge of #89456 - cuviper:llvm-13, r=nikic
Update to the final LLVM 13.0.0 release
Configuration menu - View commit details
-
Copy full SHA for 5eaddb2 - Browse repository at this point
Copy the full SHA 5eaddb2View commit details -
Rollup merge of #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 #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 f004b11 - Browse repository at this point
Copy the full SHA f004b11View commit details -
Rollup merge of #89473 - FabianWolff:issue-89469, r=joshtriplett
Fix extra `non_snake_case` warning for shorthand field bindings Fixes #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 207accb - Browse repository at this point
Copy the full SHA 207accbView commit details -
Rollup merge of #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 73cde66 - Browse repository at this point
Copy the full SHA 73cde66View commit details -
Rollup merge of #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 d977385 - Browse repository at this point
Copy the full SHA d977385View commit details -
Rollup merge of #89480 - hameerabbasi:issue-89118-test, r=jackh726
Add test for issue 89118. This PR adds a test for issue 89118. Closes #89118.
Configuration menu - View commit details
-
Copy full SHA for bbbed4b - Browse repository at this point
Copy the full SHA bbbed4bView commit details -
Rollup merge of #89487 - FabianWolff:issue-89396, r=petrochenkov
Try to recover from a `=>` -> `=` or `->` typo in a match arm Fixes #89396.
Configuration menu - View commit details
-
Copy full SHA for ac90510 - Browse repository at this point
Copy the full SHA ac90510View commit details -
Rollup merge of #89494 - FabianWolff:issue-84075, r=davidtwco
Deny `where` clauses on `auto` traits Fixes #84075.
Configuration menu - View commit details
-
Copy full SHA for 60d58c2 - Browse repository at this point
Copy the full SHA 60d58c2View commit details -
Rollup merge of #89511 - lnicola:rust-analyzer-2021-10-04, r=lnicola
⬆️ rust-analyzer
Configuration menu - View commit details
-
Copy full SHA for e980b2f - Browse repository at this point
Copy the full SHA e980b2fView commit details -
Rollup merge of #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 121e3fe - Browse repository at this point
Copy the full SHA 121e3feView commit details
There are no files selected for viewing