Auto merge of #79336 - camelid:rename-feature-oibit-to-auto, r=oli-obk
Rename `optin_builtin_traits` to `auto_traits` They were originally called "opt-in, built-in traits" (OIBITs), but people realized that the name was too confusing and a mouthful, and so they were renamed to just "auto traits". The feature flag's name wasn't updated, though, so that's what this PR does. There are some other spots in the compiler that still refer to OIBITs, but I don't think changing those now is worth it since they are internal and not particularly relevant to this PR. Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name>. r? `@oli-obk` (feel free to re-assign if you're not the right reviewer for this)
This commit is contained in:
commit
ec039bd075
60 changed files with 98 additions and 82 deletions
|
@ -811,7 +811,7 @@ pub struct LocalDecl<'tcx> {
|
|||
/// after typeck.
|
||||
///
|
||||
/// This should be sound because the drop flags are fully algebraic, and
|
||||
/// therefore don't affect the OIBIT or outlives properties of the
|
||||
/// therefore don't affect the auto-trait or outlives properties of the
|
||||
/// generator.
|
||||
pub internal: bool,
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ pub enum Reveal {
|
|||
/// be observable directly by the user, `Reveal::All`
|
||||
/// should not be used by checks which may expose
|
||||
/// type equality or type contents to the user.
|
||||
/// There are some exceptions, e.g., around OIBITS and
|
||||
/// There are some exceptions, e.g., around auto traits and
|
||||
/// transmute-checking, which expose some details, but
|
||||
/// not the whole concrete type of the `impl Trait`.
|
||||
All,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue