Rollup merge of #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
This commit is contained in:
commit
b73c6fe8f2
1 changed files with 1 additions and 2 deletions
|
|
@ -106,8 +106,7 @@ mod foo {
|
|||
use foo::MyTrait::do_something;
|
||||
```
|
||||
|
||||
In general, it's not legal to directly import methods belonging to a
|
||||
trait or concrete type.
|
||||
It's illegal to directly import methods belonging to a trait or concrete type.
|
||||
"##,
|
||||
|
||||
E0255: r##"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue