diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-01-30 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-01-30 00:00:00 +0000 |
| commit | b01976aa267620719afdd0effcc0501648bbefd4 (patch) | |
| tree | 6222a085d624dd11f8b8ad8955728f90b96d8fc4 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | fd20a8be0d74a7026267af5c9a0cd251eeaba7c6 (diff) | |
| download | rust-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
