Skip to content

Only get ImplKind::Impl once - #76783

Merged
bors merged 1 commit into
rust-lang:masterfrom
tesuji:rd_impl_kind
Sep 22, 2020
Merged

Only get ImplKind::Impl once#76783
bors merged 1 commit into
rust-lang:masterfrom
tesuji:rd_impl_kind

Conversation

@tesuji

@tesujitesuji commented Sep 16, 2020

Copy link
Copy Markdown
Contributor

With this, the code panics in one place instead of two.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @GuillaumeGomez

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 16, 2020
@GuillaumeGomez

Copy link
Copy Markdown
Member

Do you have a test to confirm it too please? :) Otherwise looks good to me!

@tesuji

tesuji commented Sep 16, 2020

Copy link
Copy Markdown
ContributorAuthor

I don't know how to write tests for this :p . It is just obvious at source level,
we've never known what optimizer does behind our backs.

@GuillaumeGomez

Copy link
Copy Markdown
Member

r=me once CI is green. :)

@jyn514jyn514 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Sep 16, 2020
@jyn514

Copy link
Copy Markdown
Member

@bors r=GuillaumeGomez

@bors

bors commented Sep 16, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit eede953 has been approved by GuillaumeGomez

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 16, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 19, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 19, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 20, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
RalfJung added a commit to RalfJung/rust that referenced this pull request Sep 20, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
@RalfJungRalfJung mentioned this pull request Sep 20, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 21, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 22, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
ecstatic-morse added a commit to ecstatic-morse/rust that referenced this pull request Sep 22, 2020
Only get ImplKind::Impl once
With this, the code panics in one place instead of two.
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2020
…atic-morse
Rollup of 13 pull requests
Successful merges:
- rust-lang#72734 (Reduce duplicate in liballoc reserve error handling)
- rust-lang#76131 (Don't use `zip` to compare iterators during pretty-print hack)
- rust-lang#76150 (Don't recommend ManuallyDrop to customize drop order)
- rust-lang#76275 (Implementation of Write for some immutable ref structs)
- rust-lang#76489 (Add explanation for E0756)
- rust-lang#76581 (do not ICE on bound variables, return `TooGeneric` instead)
- rust-lang#76655 (Make some methods of `Pin` unstable const)
- rust-lang#76783 (Only get ImplKind::Impl once)
- rust-lang#76807 (Use const-checking to forbid use of unstable features in const-stable functions)
- rust-lang#76888 (use if let instead of single match arm expressions)
- rust-lang#76914 (extend `Ty` and `TyCtxt` lints to self types)
- rust-lang#77022 (Reduce boilerplate for BytePos and CharPos)
- rust-lang#77032 (lint missing docs for extern items)
Failed merges:
r? `@ghost`
@bors
bors merged commit b3433c7 into rust-lang:masterSep 22, 2020
@rustbotrustbot added this to the 1.48.0 milestone Sep 22, 2020
@tesuji
tesuji deleted the rd_impl_kind branch September 22, 2020 08:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@tesuji@rust-highfive@GuillaumeGomez@jyn514@bors@rustbot