Skip to content

Rollup of 5 pull requests - #69004

Merged
bors merged 16 commits into
rust-lang:masterfrom
jonas-schievink:rollup-z2ymler
Feb 9, 2020
Merged

Rollup of 5 pull requests#69004
bors merged 16 commits into
rust-lang:masterfrom
jonas-schievink:rollup-z2ymler

Conversation

@jonas-schievink

Copy link
Copy Markdown
Contributor

Successful merges:

Failed merges:

r? @ghost

kennytmand others added 16 commits February 2, 2020 02:29
This reduces the number of `associated_item` queries done here.
Quickly skip impls that do not define any items with the same name
…=sfackler
Derive Clone + Eq for std::string::FromUtf8Error
Implement `Clone` and `Eq` for `std::string::FromUtf8Error`.
Both the inner `Vec<u8>` and `std::str::Utf8Error` are also `Clone + Eq`, so I don't see why we shouldn't derive them on `FromUtf8Error` as well.
(impl are insta-stable, requiring FCP from T-libs.)
rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variables
Making this depend on the optimization level appears to have been a copy-paste mistake (other LLVM functions called in this module also take a `bool` argument, but there it means something unrelated).
Also see #8855 (comment).
I don't believe we have any reason to let LLVM omit user variables from DWARF, and we were already setting this to `true` when LLVM *could* optimize them away, so this PR should have no effect anyway.
r? @michaelwoerister or @nagisa cc @hanna-kruppe@nikomatsakis
…nkov
Speed up the inherent impl overlap check
This gives a ~7% improvement in compile times for the stm32f0(x2) crate.
Also addresses @eddyb's comment in #68837 (comment).
Pretty-print generic params and where clauses on associated types
closes#67509
@jonas-schievink

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=5 rollup=never

@bors

bors commented Feb 9, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit da00582 has been approved by jonas-schievink

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 9, 2020
@jonas-schievinkjonas-schievink added the rollup A PR which is a rollup label Feb 9, 2020
@bors

bors commented Feb 9, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit da00582 with merge 71c7e14...

bors added a commit that referenced this pull request Feb 9, 2020
Rollup of 5 pull requests
Successful merges:
- #68738 (Derive Clone + Eq for std::string::FromUtf8Error)
- #68742 (implement AsMut<str> for String)
- #68881 (rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variables)
- #68911 (Speed up the inherent impl overlap check)
- #68913 (Pretty-print generic params and where clauses on associated types)
Failed merges:
r? @ghost
@bors

bors commented Feb 9, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-azure
Approved by: jonas-schievink
Pushing 71c7e14 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Feb 9, 2020
@bors
bors merged commit da00582 into rust-lang:masterFeb 9, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: 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.

6 participants

@jonas-schievink@bors@kennytm@tspiteri@eddyb@basil-cow