diff options
| author | Hoàng Đức Hiếu <hdhoang@hdhoang.space> | 2018-05-03 08:16:34 +0700 |
|---|---|---|
| committer | Hoàng Đức Hiếu <hdhoang@hdhoang.space> | 2018-05-03 08:16:34 +0700 |
| commit | 8e4072cb4b38fe99455b2e799e440cf4f0a3fabf (patch) | |
| tree | 85247d07e994922ae1a879ef64918eac2a13eee7 | |
| parent | 2fce5b34f60891e40638bb9e1932cfb0a88f6ad3 (diff) | |
| download | rust-8e4072cb4b38fe99455b2e799e440cf4f0a3fabf.tar.gz rust-8e4072cb4b38fe99455b2e799e440cf4f0a3fabf.zip | |
fix error text
| -rw-r--r-- | src/doc/rustc/src/lints/listing/deny-by-default.md | 2 |
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 eea1edb91ac..4844141d474 100644 --- a/src/doc/rustc/src/lints/listing/deny-by-default.md +++ b/src/doc/rustc/src/lints/listing/deny-by-default.md @@ -266,7 +266,7 @@ impl<X> Trait1<Box<X>> for A { This will produce: ```text -warning: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`: (E0119) +error: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`: (E0119) --> src/main.rs:13:1 | 9 | impl<X, T> Trait1<X> for T where T: Trait2<X> { |
