You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mod m {enumMyEnum{MyVariant}// Import all variants:useMyEnum::*;}fnmain(){}
Since this will compile when putting ms contents into the main module, this can be quite confusing (for example when refactoring some code into it's own module).
Currently, this yields error: unresolved import MyEnum::*. Maybe a missing extern crate MyEnum?. When this case is detected, the Maybe a missing extern crate MyEnum? probably shouldn't be printed.