mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Specific proc-macro crate type for other test fixture where needed
This commit is contained in:
parent
5b9799bba4
commit
1f1185dcbb
2 changed files with 7 additions and 5 deletions
|
@ -1244,6 +1244,7 @@ use mac::fn_macro;
|
|||
fn_macro$0!();
|
||||
|
||||
//- /mac.rs crate:mac
|
||||
#![crate_type="proc-macro"]
|
||||
#[proc_macro]
|
||||
fn fn_macro() {}
|
||||
//^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue