mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
9 lines
279 B
Plaintext
9 lines
279 B
Plaintext
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
|
|
|