1 error[E0432]: unresolved import `foo::Foo`
2 --> $DIR/use-associated-const.rs:11:10
4 LL | use foo::Foo::BAR;
5 | ^^^ `Foo` is a struct, not a module
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0432`.