rust/src/test/ui-fulldeps/proc-macro/non-root.stderr

9 lines
287 B
Plaintext
Raw Normal View History

2018-07-12 17:59:41 -05:00
error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
--> $DIR/non-root.rs:21:5
|
LL | pub fn foo(arg: TokenStream) -> TokenStream { arg }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error