Skip to content

Rollup of 4 pull requests - #82306

Closed
GuillaumeGomez wants to merge 12 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-6lurrbg
Closed

Rollup of 4 pull requests#82306
GuillaumeGomez wants to merge 12 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-6lurrbg

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

pickfireand others added 12 commits February 18, 2021 10:11
Stdin uses handle whereas StdinLock uses stdin_lock, changed it to handle.
It's not possible to check if removing a semicolon fixes the type error
when checking match arms and one or both of the last arm's and the
current arm's return types are imported "opaque" types. In these cases
we don't generate a "consider removing semicolon" suggestions.
Fixesrust-lang#81839
The feature was stabilized in rust-lang#66172, but the usage string was not
updated to be shown.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Add Sized trait display when implemented on type
Fixesrust-lang#24183.
I'm not too happy about the hack I had to add in here, however, it seems like the `Sized` trait is **very** special.
cc `@jyn514`
r? `@ollie27`
Fix panic in 'remove semicolon' when types are not local
It's not possible to check if removing a semicolon fixes the type error
when checking match arms and one or both of the last arm's and the
current arm's return types are imported "opaque" types. In these cases
we don't generate a "consider removing semicolon" suggestions.
Fixesrust-lang#81839
---
I'm not sure how to add a test for this. I think the test would need at least two crates. Do we have any existing tests that do this so that I can take a look?
Keep consistency in example for Stdin StdinLock
Stdin uses handle whereas StdinLock uses stdin_lock, changed it to handle.
rustc: Show `@path` usage in stable
The feature was stabilized in rust-lang#66172, but the usage string was not updated to be shown.
@rustbotrustbot added the rollup A PR which is a rollup label Feb 19, 2021
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r+ p=4

@bors

bors commented Feb 19, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 347b269 has been approved by GuillaumeGomez

@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 19, 2021
@bors

bors commented Feb 20, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 347b269 with merge b27700940cd53e7ab79943aebc1400a423f81de7...

@bors

bors commented Feb 20, 2021

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 20, 2021
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)

@GuillaumeGomez
GuillaumeGomez deleted the rollup-6lurrbg branch February 20, 2021 13:21
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@GuillaumeGomez@bors@rust-log-analyzer@rustbot@pickfire@osa1@ojeda