Skip to content

Commit

Permalink
fix up crate/trait discrepancy, clarify language
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisdairO committed Jul 18, 2015
1 parent 6c74779 commit 56b450b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustc_resolve/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ mod bar {
"##,

E0253: r##"
Attempt was made to import an unimportable value. This can happen when
trying to import a function from a trait. An example of this error:
Attempt was made to import an unimportable value. This can happen when
trying to import a function from a trait. An example of this error:
```
mod foo {
Expand All @@ -106,8 +106,8 @@ mod foo {
use foo::MyTrait::doSomething;
```
In general, it's not legal to directly import functions from a crate or
concrete type.
In general, it's not legal to directly import methods belonging to a
trait or concrete type.
"##,

E0255: r##"
Expand Down

0 comments on commit 56b450b

Please sign in to comment.