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