1 error: functions tagged with `#[proc_macro]` must be `pub`
2 --> $DIR/visibility-path.rs:12:1
4 LL | pub(self) fn outer(input: TokenStream) -> TokenStream {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
8 --> $DIR/visibility-path.rs:21:5
10 LL | pub(super) fn inner(input: TokenStream) -> TokenStream {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors