summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-associated-const.stderr
blob: 4bc0d7e61cb2c3d4bc2013e644621fe0a727e7be (plain)
1
2
3
4
5
6
7
8
9
error[E0432]: unresolved import `foo::Foo`
  --> $DIR/use-associated-const.rs:11:10
   |
LL | use foo::Foo::BAR;
   |          ^^^ `Foo` is a struct, not a module

error: aborting due to previous error

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