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

Remove requirement of fully qualified path for disallowed_method/type #7345

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

DevinR528
Copy link
Contributor

@DevinR528 DevinR528 commented Jun 12, 2021

changelog: Remove the need for fully qualified paths in disallowed_method and disallowed_type

After fixing this issue in import_rename I figured I'd fix it for these two.

If this does in fact fix the Known problems: section I was planning to remove them from both lints after confirmation.

@rust-highfive
Copy link

r? @Manishearth

(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 Jun 12, 2021
@Manishearth
Copy link
Member

r=me with the known problems sections removed

@DevinR528
Copy link
Contributor Author

DevinR528 commented Jun 13, 2021

Should it be moved out of nursery? Or leave it to confirm there are no problems?

Also would this be related to #5393

@Manishearth
Copy link
Member

Manishearth commented Jun 14, 2021

@bors r+

I don't know about removing it from nursery, it honestly feels like a restriction lint to me. @rust-lang/clippy thoughts?

Also would this be related to #5393

Nah, that only works for paths we hardcode, not ones our users specify.

@bors
Copy link
Contributor

bors commented Jun 14, 2021

📌 Commit d4eff81 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Jun 14, 2021

⌛ Testing commit d4eff81 with merge 2d1e9ab...

@bors
Copy link
Contributor

bors commented Jun 14, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing 2d1e9ab to master...

@bors bors merged commit 2d1e9ab into rust-lang:master Jun 14, 2021
@camsteffen
Copy link
Contributor

Moving to restriction SGTM. Probably any lint that only works with config is restriction.

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.

5 participants