]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/visibility-path.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / proc-macro / visibility-path.stderr
1 error: functions tagged with `#[proc_macro]` must be `pub`
2 --> $DIR/visibility-path.rs:12:1
3 |
4 LL | pub(self) fn outer(input: TokenStream) -> TokenStream {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
8 --> $DIR/visibility-path.rs:21:5
9 |
10 LL | pub(super) fn inner(input: TokenStream) -> TokenStream {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14