]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/non-root.stderr
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.git] / src / test / ui / proc-macro / non-root.stderr
1 error: functions tagged with `#[proc_macro]` must currently reside in the root of the crate
2   --> $DIR/non-root.rs:11:5
3    |
4 LL |     pub fn foo(arg: TokenStream) -> TokenStream { arg }
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8