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

Prefer a code snipped over formatting the self type (new_without_default) #7493

Merged

Conversation

xFrednet
Copy link
Member

Fixes: #7220

changelog: [new_without_default]: The Default impl block type doesn't use the full type path qualification

Have a nice day to everyone reading this 🙃

@rust-highfive
Copy link

r? @camsteffen

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 25, 2021
Copy link
Contributor

@camsteffen camsteffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit and r=me

clippy_lints/src/new_without_default.rs Outdated Show resolved Hide resolved
@xFrednet xFrednet force-pushed the 7220-fix-new-without-default-impl-type branch from 2dcad31 to 89c8c3f Compare July 26, 2021 07:35
@xFrednet
Copy link
Member Author

Done! 🙃 I don't have bors privileges, could you r+ it?

@flip1995
Copy link
Member

@bors r=camsteffen

@bors
Copy link
Contributor

bors commented Jul 26, 2021

📌 Commit 89c8c3f has been approved by camsteffen

@bors
Copy link
Contributor

bors commented Jul 26, 2021

⌛ Testing commit 89c8c3f with merge 3214de3...

@bors
Copy link
Contributor

bors commented Jul 26, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: camsteffen
Pushing 3214de3 to master...

@bors bors merged commit 3214de3 into rust-lang:master Jul 26, 2021
@xFrednet xFrednet deleted the 7220-fix-new-without-default-impl-type branch July 28, 2021 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too much path qualification in recommended fix
5 participants