1 error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
2 --> $DIR/non-root.rs:11:5
4 LL | pub fn foo(arg: TokenStream) -> TokenStream { arg }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: aborting due to previous error