This commit is contained in:
Jack Huey 2022-03-05 19:38:53 -05:00
parent 9dc05f3832
commit d16ec7b9d1

View File

@ -2668,7 +2668,7 @@ pub struct Trait {
/// are concatenated together.
///
/// Take this example:
/// ```rust, ignore
/// ```ignore (only-for-syntax-highlight)
/// trait Foo {
/// type Assoc<'a, 'b> where Self: 'a, Self: 'b;
/// }
@ -2677,9 +2677,9 @@ 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);