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
281 B
Plaintext
Raw Normal View History

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