Skip to content

Commit 9dc05f3

Browse files
committed
Add commment covering the case with no where clause
1 parent 084c0f3 commit 9dc05f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_ast/src/ast.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2677,6 +2677,8 @@ pub struct Trait {
26772677
/// // ^^^^^^^^^^^^^^ first where clause
26782678
/// // ^^^^^^^^^^^^^^ second where clause
26792679
/// }
2680+
///
2681+
/// If there is no where clause, then this is `false` with `DUMMY_SP`.
26802682
/// ```
26812683
#[derive(Copy, Clone, Encodable, Decodable, Debug, Default)]
26822684
pub struct TyAliasWhereClause(pub bool, pub Span);

0 commit comments

Comments
 (0)