]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-associated-const.stderr
clarify what the item is in "not a module" error
[rust.git] / src / test / ui / use / use-associated-const.stderr
1 error[E0432]: unresolved import `foo::Foo`
2   --> $DIR/use-associated-const.rs:11:10
3    |
4 LL | use foo::Foo::BAR;
5    |          ^^^ `Foo` is a struct, not a module
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0432`.