about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-29 03:08:59 +0000
committerbors <bors@rust-lang.org>2022-10-29 03:08:59 +0000
commit33b55ac39fa633d0983fad014469e1036669bf28 (patch)
tree1645341a632d6db197536be4d35d5edc0ebe5903 /compiler/rustc_codegen_llvm/src
parent7174231ae66aa3e938cbe0b84e23e79d867fec20 (diff)
parent34eb73c72d7e40d61ca2efa0dd1fedc89e21f0b8 (diff)
downloadrust-33b55ac39fa633d0983fad014469e1036669bf28.tar.gz
rust-33b55ac39fa633d0983fad014469e1036669bf28.zip
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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions