error[E0253]: `foo` is not directly importable | |
--> $DIR/import-trait-method.rs:15:5 | |
| | |
LL | use Foo::foo; //~ ERROR not directly importable | |
| ^^^^^^^^ cannot be imported directly | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0253`. |