1
Fork 0

Use the name "auto traits" everywhere in the compiler

Goodbye, OIBIT!
This commit is contained in:
Camelid 2020-11-24 15:44:04 -08:00
parent 810324d1f3
commit 82dc99ba7a
10 changed files with 20 additions and 20 deletions

View file

@ -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,

View file

@ -70,7 +70,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,