Add commment covering the case with no where clause

This commit is contained in:
Jack Huey 2022-03-04 23:21:33 -05:00
parent 084c0f36ef
commit 9dc05f3832

View File

@ -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);