Skip to content

Conversation

phansch
Copy link
Contributor

@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
Contributor

bors commented Apr 20, 2019

📌 Commit 158aa39 has been approved by flip1995

@bors
Copy link
Contributor

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
Contributor

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