Specific proc-macro crate type for other test fixture where needed

This commit is contained in:
Lukas Wirth 2022-03-09 22:18:09 +01:00
parent 5b9799bba4
commit 1f1185dcbb
2 changed files with 7 additions and 5 deletions

View file

@ -1244,6 +1244,7 @@ use mac::fn_macro;
fn_macro$0!();
//- /mac.rs crate:mac
#![crate_type="proc-macro"]
#[proc_macro]
fn fn_macro() {}
//^^^^^^^^