Skip to content
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 7 pull requests #72433

Merged
merged 20 commits into from
May 22, 2020
Merged

Rollup of 7 pull requests #72433

merged 20 commits into from
May 22, 2020

Conversation

RalfJung
Copy link
Member

Successful merges:

Failed merges:

r? @ghost

estebank and others added 20 commits May 12, 2020 10:56
This is to provide a more explicit statement against a code pattern that
many people end up coming with, since the reason of it being unsound
comes from the badly known single-allocation validity rule.

Providing that very pattern as a counter-example could help mitigate that.

Co-authored-by: Ralf Jung <[email protected]>
Intern predicates

Implements the first step of rust-lang/compiler-team#285

Renames `ty::Predicate` to `ty::PredicateKind`, which is now interned.
To ease the transition, `ty::Predicate` is now a struct containing a reference
to `ty::PredicateKind`.

r? @ghost
Don't `type_of` on trait assoc ty without default

Fix rust-lang#72076.
…llaumeGomez

Make intra-link resolve links for both trait and impl items

Closes rust-lang#72340
…t_adjacent_slice_concat, r=RalfJung

Improve documentation of `slice::from_raw_parts`

This is to provide a more explicit statement against a code pattern that
many people end up coming with, since the reason of it being unsound
comes from the badly known single-allocation validity rule.

Providing that very pattern as a counter-example could help mitigate that.

See also: https://internals.rust-lang.org/t/pre-rfc-add-join-seq-method-to-slices-and-strs/11936/13

r? @RalfJung
…s, r=nikomatsakis

Show default values for debug-assertions & debug-assertions-std
…akis

fix discriminant_value sign extension

Fixes a regression introduced in rust-lang#70705
r? @nikomatsakis Cc @lcnr @oli-obk
@RalfJung
Copy link
Member Author

@rustbot modify labels: +rollup
@bors r+ rollup=never p=7

@rustbot rustbot added the rollup A PR which is a rollup label May 21, 2020
@bors
Copy link
Contributor

bors commented May 21, 2020

📌 Commit 74b5c50 has been approved by RalfJung

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 21, 2020
@bors
Copy link
Contributor

bors commented May 21, 2020

⌛ Testing commit 74b5c50 with merge d9417b3...

@bors
Copy link
Contributor

bors commented May 22, 2020

☀️ Test successful - checks-azure
Approved by: RalfJung
Pushing d9417b3 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 22, 2020
@bors bors merged commit d9417b3 into rust-lang:master May 22, 2020
@ecstatic-morse
Copy link
Contributor

This PR caused a rather large perf regression. Looking at the per-query results, the slowdown is in trait solving, so it is most likely #72055.

There's one other candidate PR, #71718, whose perf run is not yet complete, but it is unlikely to have caused the regression.

@RalfJung
Copy link
Member Author

Probably the best way to measure this is to submit a PR that reverts the suspect, and perf-test that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants