about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/existential-types.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/existential-types.md b/src/doc/rustc-dev-guide/src/existential-types.md
index 3e4a49210fc..ef20167c183 100644
--- a/src/doc/rustc-dev-guide/src/existential-types.md
+++ b/src/doc/rustc-dev-guide/src/existential-types.md
@@ -7,7 +7,7 @@ type.
 
 In the language they are expressed via
 
-```
+```rust,ignore
 existential type Foo: Bar;
 ```
 
@@ -17,7 +17,7 @@ the `Bar` trait's interface.
 Since there needs to be a concrete background type, you can currently
 express that type by using the existential type in a "defining use site".
 
-```
+```rust,ignore
 struct Struct;
 impl Bar for Struct { /* stuff */ }
 fn foo() -> Foo {