summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-trait-method.stderr
blob: 3c26907d3d06e6943c48a5c314547e52576fbc20 (plain)
1
2
3
4
5
6
7
8
9
error[E0253]: `foo` is not directly importable
  --> $DIR/import-trait-method.rs:5:5
   |
LL | use Foo::foo;
   |     ^^^^^^^^ cannot be imported directly

error: aborting due to previous error

For more information about this error, try `rustc --explain E0253`.