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

Allow allowing of toplevel_ref_arg lint #4007

Merged
merged 1 commit into from
Apr 20, 2019

Conversation

phansch
Copy link
Member

@phansch phansch commented Apr 19, 2019

I'm not sure why some lints need the HirId to be able to recognize the
lint level attributes, but this commit makes the lint level attributes
work for toplevel_ref_arg.

Fixes #2332

changelog: Allow allowing of toplevel_ref_arg lint

I'm not sure why some lints need the `HirId` to be able to recognize the
lint level attributes, but this commit makes the lint level attributes
work for `toplevel_ref_arg`.
@phansch phansch added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 19, 2019
@flip1995
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 20, 2019

📌 Commit 158aa39 has been approved by flip1995

@bors
Copy link
Collaborator

bors commented Apr 20, 2019

⌛ Testing commit 158aa39 with merge 54e80c7...

bors added a commit that referenced this pull request Apr 20, 2019
Allow allowing of toplevel_ref_arg lint

I'm not sure why some lints need the `HirId` to be able to recognize the
lint level attributes, but this commit makes the lint level attributes
work for `toplevel_ref_arg`.

Fixes #2332

changelog: Allow allowing of `toplevel_ref_arg` lint
@bors
Copy link
Collaborator

bors commented Apr 20, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing 54e80c7 to master...

@bors bors merged commit 158aa39 into rust-lang:master Apr 20, 2019
@phansch phansch deleted the fix_allowing_toplevel_ref_arg branch April 20, 2019 18:55
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.

Clippy does not respect inline #[allow(…)] attribute
3 participants