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