rust/tests/ui/proc-macro/non-root.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
279 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
2018-12-25 09:56:47 -06:00
--> $DIR/non-root.rs:11:5
2018-07-12 17:59:41 -05:00
|
LL | pub fn foo(arg: TokenStream) -> TokenStream { arg }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-07-12 17:59:41 -05:00
error: aborting due to previous error