about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-01-30 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-01-30 00:00:00 +0000
commitb01976aa267620719afdd0effcc0501648bbefd4 (patch)
tree6222a085d624dd11f8b8ad8955728f90b96d8fc4 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentfd20a8be0d74a7026267af5c9a0cd251eeaba7c6 (diff)
downloadrust-b01976aa267620719afdd0effcc0501648bbefd4.tar.gz
rust-b01976aa267620719afdd0effcc0501648bbefd4.zip
Precompute ancestors when checking privacy
Precompute ancestors of the old error node set so that check for private
types and traits in public interfaces can in constant time determine if
the current item has any descendants in the old error set.

No functional changes intended.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions