]> git.lizzy.rs Git - rust.git/commit
Allow allowing of toplevel_ref_arg lint
authorPhilipp Hansch <dev@phansch.net>
Fri, 19 Apr 2019 13:18:32 +0000 (15:18 +0200)
committerPhilipp Hansch <dev@phansch.net>
Fri, 19 Apr 2019 13:18:32 +0000 (15:18 +0200)
commit158aa39a7c83164c949d5130cb114e444e8b38af
treec2f8f91ca62f330be9ff00a26bc2eefea33d11bd
parent0d9ef393b8c2596aca6a037d3efb513afdf17875
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`.
clippy_lints/src/misc.rs
tests/ui/toplevel_ref_arg.rs