Use the name "auto traits" everywhere in the compiler
Goodbye, OIBIT!
This commit is contained in:
parent
810324d1f3
commit
82dc99ba7a
10 changed files with 20 additions and 20 deletions
|
@ -96,7 +96,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
ExprKind::Box { value } => {
|
||||
let value = this.hir.mirror(value);
|
||||
// The `Box<T>` temporary created here is not a part of the HIR,
|
||||
// and therefore is not considered during generator OIBIT
|
||||
// and therefore is not considered during generator auto-trait
|
||||
// determination. See the comment about `box` at `yield_in_scope`.
|
||||
let result = this.local_decls.push(LocalDecl::new(expr.ty, expr_span).internal());
|
||||
this.cfg.push(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue