fix error text

This commit is contained in:
Hoàng Đức Hiếu 2018-05-03 08:16:34 +07:00
parent 2fce5b34f6
commit 8e4072cb4b

View file

@ -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> {