diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-03-05 19:38:53 -0500 |
|---|---|---|
| committer | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-03-05 21:20:12 -0500 |
| commit | d16ec7b9d1bc6550af3a68e250582a628f5be800 (patch) | |
| tree | 875dfe0baa820942943df8d5631b4f5c53de6fbf /compiler/rustc_ast/src | |
| parent | 9dc05f383279765a4ab587c3972b73d93fbf3148 (diff) | |
| download | rust-d16ec7b9d1bc6550af3a68e250582a628f5be800.tar.gz rust-d16ec7b9d1bc6550af3a68e250582a628f5be800.zip | |
Ignore
Diffstat (limited to 'compiler/rustc_ast/src')
| -rw-r--r-- | compiler/rustc_ast/src/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index 3ba4c11e2c1..ed5a282ec06 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -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); |
