Skip to content

Commit

Permalink
Auto merge of #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/rust#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 54e86ca + 32d85ee commit 038436e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 038436e

Please sign in to comment.