]> git.lizzy.rs Git - rust.git/commit
Lint items after statements in macro expansions
authorChris Ayoup <chris@achris.net>
Thu, 15 Oct 2020 03:49:48 +0000 (23:49 -0400)
committerChris Ayoup <chris@achris.net>
Thu, 15 Oct 2020 03:49:48 +0000 (23:49 -0400)
commit32e2021b75f5bb5c83bf753de76ec9ed499d12cc
tree835742111a844d27653cfa84a5fbfc912636df86
parent0cba5e6bd38a5acede81a09795a00bb8ec1ad3f9
Lint items after statements in macro expansions

The items_after_statements lint was skipping all expansions.  Instead
we should still lint local macros.

Fixes #578
clippy_lints/src/items_after_statements.rs
tests/ui/item_after_statement.rs
tests/ui/item_after_statement.stderr