mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 21:34:18 +00:00
Add commment covering the case with no where clause
This commit is contained in:
parent
084c0f36ef
commit
9dc05f3832
@ -2677,6 +2677,8 @@ pub struct Trait {
|
|||||||
/// // ^^^^^^^^^^^^^^ first where clause
|
/// // ^^^^^^^^^^^^^^ first where clause
|
||||||
/// // ^^^^^^^^^^^^^^ second 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)]
|
#[derive(Copy, Clone, Encodable, Decodable, Debug, Default)]
|
||||||
pub struct TyAliasWhereClause(pub bool, pub Span);
|
pub struct TyAliasWhereClause(pub bool, pub Span);
|
||||||
|
Loading…
Reference in New Issue
Block a user