]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #87568 - petrochenkov:localevel, r=cjgillot
authorbors <bors@rust-lang.org>
Wed, 4 Aug 2021 02:04:04 +0000 (02:04 +0000)
committerbors <bors@rust-lang.org>
Wed, 4 Aug 2021 02:04:04 +0000 (02:04 +0000)
commitbb744e1e9f1e193014ab3f04bf5e0640dbe4dc63
tree461416ac8a4134822855c0abf9f80e1a81c9d3b6
parent2b8de6f21286d6dbd7dd692af7da7dc6937861d3
parentf921410b1c4e38e234758db6dbbfc8b9c419c5fb
Auto merge of #87568 - petrochenkov:localevel, r=cjgillot

rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tables

and passes using those tables - primarily privacy checking, stability checking and dead code checking.

All these passes work with definitions rather than with arbitrary HIR nodes.
r? `@cjgillot`
cc `@lambinoo` (#87487)
src/librustdoc/passes/collect_intra_doc_links.rs
src/tools/clippy/clippy_lints/src/implicit_hasher.rs