rust/tests/ui/error-codes/E0253.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
294 B
Plaintext
Raw Normal View History

2018-02-08 11:35:35 +08:00
error[E0253]: `do_something` is not directly importable
2018-12-25 23:56:47 +08:00
--> $DIR/E0253.rs:7:5
2018-02-08 11:35:35 +08:00
|
2018-02-23 08:42:32 +08:00
LL | use foo::MyTrait::do_something;
2018-02-08 11:35:35 +08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be imported directly
error: aborting due to previous error
2018-03-03 22:59:40 +08:00
For more information about this error, try `rustc --explain E0253`.