about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorHoàng Đức Hiếu <hdhoang@hdhoang.space>2018-05-03 08:17:21 +0700
committerHoàng Đức Hiếu <hdhoang@hdhoang.space>2018-05-03 08:17:21 +0700
commitcabbe50c550a7eaba9a6877458f4598d2e63a3ac (patch)
tree864aeb9cb65a58641e1126a5dca1777cdf782605 /src/doc
parent8e4072cb4b38fe99455b2e799e440cf4f0a3fabf (diff)
downloadrust-cabbe50c550a7eaba9a6877458f4598d2e63a3ac.tar.gz
rust-cabbe50c550a7eaba9a6877458f4598d2e63a3ac.zip
ignore erroneous example
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/listing/deny-by-default.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/lints/listing/deny-by-default.md b/src/doc/rustc/src/lints/listing/deny-by-default.md
index 4844141d474..ef76295f04d 100644
--- a/src/doc/rustc/src/lints/listing/deny-by-default.md
+++ b/src/doc/rustc/src/lints/listing/deny-by-default.md
@@ -245,7 +245,7 @@ error: invalid `crate_type` value
 This lint detects potentially-conflicting impls that were erroneously allowed. Some
 example code that triggers this lint:
 
-```rust
+```rust,ignore
 pub trait Trait1<X> {
     type Output;
 }