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-13 01:59:41 +03:00
error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
2018-12-25 08:56:47 -07:00
--> $DIR/non-root.rs:11:5
2018-07-13 01:59:41 +03:00
|
LL | pub fn foo(arg: TokenStream) -> TokenStream { arg }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-07-13 01:59:41 +03:00
error: aborting due to previous error