Add commment covering the case with no where clause
This commit is contained in:
parent
084c0f36ef
commit
9dc05f3832
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue