Skip to content

Commit 8e4072c

Browse files
committed
fix error text
1 parent 2fce5b3 commit 8e4072c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc/src/lints/listing/deny-by-default.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl<X> Trait1<Box<X>> for A {
266266
This will produce:
267267

268268
```text
269-
warning: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`: (E0119)
269+
error: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`: (E0119)
270270
--> src/main.rs:13:1
271271
|
272272
9 | impl<X, T> Trait1<X> for T where T: Trait2<X> {

0 commit comments

Comments
 (0)