Skip to content

Commit

Permalink
oops, forgot to fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisdairO committed Jul 18, 2015
1 parent 56b450b commit 44f29fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_resolve/diagnostics.rs
Expand Up @@ -100,10 +100,10 @@ trying to import a function from a trait. An example of this error:
```
mod foo {
pub trait MyTrait {
fn doSomething();
fn do_something();
}
}
use foo::MyTrait::doSomething;
use foo::MyTrait::do_something;
```
In general, it's not legal to directly import methods belonging to a
Expand Down

0 comments on commit 44f29fb

Please sign in to comment.