diff options
author | bors <bors@rust-lang.org> | 2022-10-29 03:08:59 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-10-29 03:08:59 +0000 |
commit | 33b55ac39fa633d0983fad014469e1036669bf28 (patch) | |
tree | 1645341a632d6db197536be4d35d5edc0ebe5903 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 7174231ae66aa3e938cbe0b84e23e79d867fec20 (diff) | |
parent | 34eb73c72d7e40d61ca2efa0dd1fedc89e21f0b8 (diff) | |
download | rust-33b55ac39fa633d0983fad014469e1036669bf28.tar.gz |
Auto merge of #102233 - petrochenkov:effvis, r=jackh726
privacy: Rename "accessibility levels" to "effective visibilities"
And a couple of other naming and comment tweaks.
Related to https://github.com/rust-lang/rust/issues/48054
For `enum Level` I initially used naming `enum EffectiveVisibilityLevel`, but it was too long and inconvenient because it's used pretty often.
So I shortened it to just `Level`, if it needs to be used from some context where this name would be ambiguous, then it can be imported with renaming like `use rustc_middle::privacy::Level as EffVisLevel` or something.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions