Skip to content

Commit c6f1a60

Browse files
committed
Rollup merge of rust-lang#27156 - AlisdairO:diagnostics253, r=Manishearth
This is a resubmission of my previous git failure - apologies. Just fixing up a wording error that was discovered in E0253 after the r. r? @Manishearth
2 parents ab51a96 + 3ae7b72 commit c6f1a60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_resolve/diagnostics.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ mod foo {
106106
use foo::MyTrait::do_something;
107107
```
108108
109-
In general, it's not legal to directly import methods belonging to a
110-
trait or concrete type.
109+
It's illegal to directly import methods belonging to a trait or concrete type.
111110
"##,
112111

113112
E0255: r##"

0 commit comments

Comments
 (0)