]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/import-trait-method.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / imports / import-trait-method.stderr
1 error[E0253]: `foo` is not directly importable
2   --> $DIR/import-trait-method.rs:5:5
3    |
4 LL | use Foo::foo; //~ ERROR not directly importable
5    |     ^^^^^^^^ cannot be imported directly
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0253`.