Ignore automatically derived impls of Clone and Debug in dead code analysis

This commit is contained in:
Fabian Wolff
2021-05-21 19:35:49 +02:00
parent 497ee321af
commit 79adda930f
54 changed files with 225 additions and 107 deletions

View File

@@ -62,13 +62,6 @@ fn hash_body(
stable_hasher.finish()
}
/// Represents an entry and its parent `HirId`.
#[derive(Copy, Clone, Debug)]
pub struct Entry<'hir> {
parent: HirId,
node: Node<'hir>,
}
impl<'a, 'hir> NodeCollector<'a, 'hir> {
pub(super) fn root(
sess: &'a Session,