4 #![crate_type = "proc-macro"]
6 extern crate proc_macro;
9 fn foo(arg: TokenStream) -> TokenStream {
11 pub fn foo(arg: TokenStream) -> TokenStream { arg }
12 //~^ ERROR functions tagged with `#[proc_macro]` must currently reside in the root of the crate