1
Fork 0

Remove unused code from remaining compiler crates

This commit is contained in:
est31 2020-10-09 11:23:40 +02:00
parent 58b3923ad3
commit 215cd36e1c
13 changed files with 0 additions and 221 deletions

View file

@ -711,10 +711,6 @@ impl<'tcx> LateContext<'tcx> {
}
}
pub fn current_lint_root(&self) -> hir::HirId {
self.last_node_with_lint_attrs
}
/// Check if a `DefId`'s path matches the given absolute type path usage.
///
/// Anonymous scopes such as `extern` imports are matched with `kw::Invalid`;