1 An incorrect visibility restriction was specified.
3 Erroneous code example:
13 To make struct `Bar` only visible in module `foo` the `in` keyword should be
18 pub(in crate::foo) struct Bar {
25 For more information see the Rust Reference on [Visibility].
27 [Visibility]: https://doc.rust-lang.org/reference/visibility-and-privacy.html