Error code E0704
An incorrect visibility restriction was specified.
Erroneous code example:
ⓘ
To make struct Bar
only visible in module foo
the in
keyword should be
used:
For more information see the Rust Reference on Visibility.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
An incorrect visibility restriction was specified.
Erroneous code example:
ⓘ
To make struct Bar
only visible in module foo
the in
keyword should be
used:
For more information see the Rust Reference on Visibility.