@@ -428,10 +428,6 @@ pub enum TraitBoundModifier {
428428 MaybeConst ,
429429}
430430
431- /// The AST represents all type param bounds as types.
432- /// `typeck::collect::compute_bounds` matches these against
433- /// the "special" built-in traits (see `middle::lang_items`) and
434- /// detects `Copy`, `Send` and `Sync`.
435431#[ derive( Clone , Copy , Debug , HashStable_Generic ) ]
436432pub enum GenericBound < ' hir > {
437433 Trait ( PolyTraitRef < ' hir > , TraitBoundModifier ) ,
@@ -1860,7 +1856,7 @@ pub enum ExprKind<'hir> {
18601856 /// Wraps the expression in a terminating scope.
18611857 /// This makes it semantically equivalent to `{ let _t = expr; _t }`.
18621858 ///
1863- /// This construct only exists to tweak the drop order in HIR lowering.
1859+ /// This construct only exists to tweak the drop order in AST lowering.
18641860 /// An example of that is the desugaring of `for` loops.
18651861 DropTemps ( & ' hir Expr < ' hir > ) ,
18661862 /// A `let $pat = $expr` expression.
@@ -2293,7 +2289,7 @@ pub enum ImplItemKind<'hir> {
22932289/// Bind a type to an associated type (i.e., `A = Foo`).
22942290///
22952291/// Bindings like `A: Debug` are represented as a special type `A =
2296- /// $::Debug` that is understood by the astconv code.
2292+ /// $::Debug` that is understood by the HIR ty lowering code.
22972293///
22982294/// FIXME(alexreg): why have a separate type for the binding case,
22992295/// wouldn't it be better to make the `ty` field an enum like the
0 commit comments