]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #35317 - TimNN:internal-deprecated, r=eddyb
authorbors <bors@rust-lang.org>
Fri, 5 Aug 2016 11:38:41 +0000 (04:38 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Aug 2016 11:38:41 +0000 (04:38 -0700)
Ignore deprecation for items deprecated by the same attribute

Whenever a node would be reported as deprecated:

- check if the parent item is also deprecated
- if it is and both were deprecated by the same attribute
- skip the deprecation warning

fixes #35128
closes #16490

r? @eddyb


Trivial merge