Skip to content

Commit

Permalink
Auto merge of rust-lang#102233 - petrochenkov:effvis, r=jackh726
Browse files Browse the repository at this point in the history
privacy: Rename "accessibility levels" to "effective visibilities"

And a couple of other naming and comment tweaks.

Related to rust-lang#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.
  • Loading branch information
bors committed Oct 29, 2022
2 parents 7a8ef6e + b7e1fb8 commit 6058549
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 6058549

Please sign in to comment.