Skip to content

Commit 0715fe7

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 9f9e2dd + 3ae7b72 commit 0715fe7

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)