1 Something other than a module was found in visibility scope.
3 Erroneous code example:
5 ```compile_fail,E0577,edition2018
8 pub (in crate::Sea) struct Shark; // error!
13 `Sea` is not a module, therefore it is invalid to use it in a visibility path.
14 To fix this error we need to ensure `Sea` is a module.
16 Please note that the visibility scope can only be applied on ancestors!
20 pub (in crate::Sea) struct Shark; // ok!