1 #### Note: this error code is no longer emitted by the compiler.
3 The `pub` keyword was used inside a function.
5 Erroneous code example:
9 pub struct Bar; // error: visibility has no effect inside functions
13 Since we cannot access items defined inside a function, the visibility of its
14 items does not impact outer code. So using the `pub` keyword in this context