summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/non-root.stderr
blob: 90f94b677e90f20206ea244f71404e920204c9e6 (plain)
1
2
3
4
5
6
7
8
error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
  --> $DIR/non-root.rs:11:5
   |
LL |     pub fn foo(arg: TokenStream) -> TokenStream { arg }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error