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

Add MSRV to deprecated_cfg_attr #7944

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

Serial-ATA
Copy link
Contributor

changelog: Add MSRV to [deprecated_cfg_attr]

closes: #7922

@rust-highfive
Copy link

r? @giraffate

(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 Nov 7, 2021
));
None
})
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't like copying these lines. Is there a reason these 3 lints can't just be a part of register_plugins?

Copy link
Contributor

Choose a reason for hiding this comment

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

There seems to be no specific reason. IMHO, as the comments says, It might be easier to keep them separate as separate functions as they are now, since it is desirable that they are eventually removed.

Copy link
Contributor

@giraffate giraffate left a comment

Choose a reason for hiding this comment

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

clippy_lints/src/attrs.rs Outdated Show resolved Hide resolved
@Serial-ATA Serial-ATA force-pushed the deprecated-cfg-attr-msrv branch from 3e13c10 to 0f24721 Compare November 8, 2021 12:25
clippy_utils/src/msrvs.rs Outdated Show resolved Hide resolved
@Serial-ATA Serial-ATA force-pushed the deprecated-cfg-attr-msrv branch from 0f24721 to 413d255 Compare November 8, 2021 22:54
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Nov 9, 2021

📌 Commit 413d255 has been approved by giraffate

@bors
Copy link
Contributor

bors commented Nov 9, 2021

⌛ Testing commit 413d255 with merge 830f220...

@bors
Copy link
Contributor

bors commented Nov 9, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 830f220 to master...

@bors bors merged commit 830f220 into rust-lang:master Nov 9, 2021
@Serial-ATA Serial-ATA deleted the deprecated-cfg-attr-msrv branch November 9, 2021 01:36
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.

deprecated_cfg_attr hit in MSRV 1.29.0
4 participants