diff options
| author | bors <bors@rust-lang.org> | 2018-04-30 00:18:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-30 00:18:49 +0000 |
| commit | 78bcd9b5fea31d8a4738e3cbd423a285db73f84d (patch) | |
| tree | c6c50d0ee81c73fce60fca75f125b1dacc5ac7da /src/libsyntax/std_inject.rs | |
| parent | 774a6a3c4b8d2743550c4b87e62fadfe3ed0323c (diff) | |
| parent | f16d2ff7ec184de179f22322f1decd96f94ef8a7 (diff) | |
| download | rust-78bcd9b5fea31d8a4738e3cbd423a285db73f84d.tar.gz rust-78bcd9b5fea31d8a4738e3cbd423a285db73f84d.zip | |
Auto merge of #50092 - abonander:issue-49934, r=petrochenkov
Warn on pointless #[derive] in more places This fixes the regression in #49934 and ensures that unused `#[derive]` invocations on statements, expressions and generic type parameters survive to trip the `unused_attributes` lint. There is a separate warning hardcoded for `#[derive]` on macro invocations since linting (even the early-lint pass) occurs after expansion. This also adds regression tests for some nodes that were already warning properly. closes #49934
Diffstat (limited to 'src/libsyntax/std_inject.rs')
0 files changed, 0 insertions, 0 deletions
