1 This error indicates that a incorrect visibility restriction was specified.
3 Example of erroneous code:
13 To make struct `Bar` only visible in module `foo` the `in` keyword should be
17 pub(in crate::foo) struct Bar {
24 For more information see the Rust Reference on [Visibility].
26 [Visibility]: https://doc.rust-lang.org/reference/visibility-and-privacy.html