diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index ad1d4430c6b..3ba4c11e2c1 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -2677,6 +2677,8 @@ pub struct Trait { /// // ^^^^^^^^^^^^^^ first where clause /// // ^^^^^^^^^^^^^^ second where clause /// } +/// +/// If there is no where clause, then this is `false` with `DUMMY_SP`. /// ``` #[derive(Copy, Clone, Encodable, Decodable, Debug, Default)] pub struct TyAliasWhereClause(pub bool, pub Span);