-
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
[beta] Rollup backports #58537
Merged
Merged
[beta] Rollup backports #58537
Commits on Feb 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 119335e - Browse repository at this point
Copy the full SHA 119335eView commit details
Commits on Feb 17, 2019
-
Make
intern_lazy_const
actually intern its argument.Currently it just unconditionally allocates it in the arena. For a "Clean Check" build of the the `packed-simd` benchmark, this change reduces both the `max-rss` and `faults` counts by 59%; it slightly (~3%) increases the instruction counts but the `wall-time` is unchanged. For the same builds of a few other benchmarks, `max-rss` and `faults` drop by 1--5%, but instruction counts and `wall-time` changes are in the noise. Fixes rust-lang#57432, fixes rust-lang#57829.
Configuration menu - View commit details
-
Copy full SHA for 94ca417 - Browse repository at this point
Copy the full SHA 94ca417View commit details -
Lower constant patterns with ascribed types.
This commit fixes a bug introduced by rust-lang#55937 which started checking user type annotations for associated type patterns. Where lowering a associated constant expression would previously return a `PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType` with a `PatternKind::Constant` inside, this commit unwraps that to access the constant pattern inside and behaves as before.
Configuration menu - View commit details
-
Copy full SHA for 04d6d7b - Browse repository at this point
Copy the full SHA 04d6d7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a1b7da - Browse repository at this point
Copy the full SHA 8a1b7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4120ee - Browse repository at this point
Copy the full SHA e4120eeView commit details -
Do not initiate nested probe within
assemble_probe
.In particular, the table entries (associated with type-variables created during the probe) must persist as long as the candidates assembled during the probe. If you make a nested probe without creating a nested `ProbeContext`, the table entries are popped at the end of the nested probe, while the type-variables would leak out via the assembled candidates attached to `self` (the outer `ProbeContext`). This causes an ICE (*if you are lucky*)!
Configuration menu - View commit details
-
Copy full SHA for 5f39bc7 - Browse repository at this point
Copy the full SHA 5f39bc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d820e21 - Browse repository at this point
Copy the full SHA d820e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for d30f5be - Browse repository at this point
Copy the full SHA d30f5beView commit details -
add tests to a few edge cases in method lookup
These aren't fixed by this PR, but were broken in a few older attempts at it. Make sure they don't regress.
Configuration menu - View commit details
-
Copy full SHA for 552e2fa - Browse repository at this point
Copy the full SHA 552e2faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 062e817 - Browse repository at this point
Copy the full SHA 062e817View commit details -
Configuration menu - View commit details
-
Copy full SHA for e583c62 - Browse repository at this point
Copy the full SHA e583c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbe9e21 - Browse repository at this point
Copy the full SHA bbe9e21View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.