mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Fix proc macro test
This commit is contained in:
parent
1d0e0cb833
commit
6db5e962ca
1 changed files with 1 additions and 0 deletions
|
@ -1085,6 +1085,7 @@ fn resolve_proc_macro() {
|
||||||
let sysroot = project_model::Sysroot::discover(
|
let sysroot = project_model::Sysroot::discover(
|
||||||
&AbsPathBuf::assert_utf8(std::env::current_dir().unwrap()),
|
&AbsPathBuf::assert_utf8(std::env::current_dir().unwrap()),
|
||||||
&Default::default(),
|
&Default::default(),
|
||||||
|
project_model::SysrootQueryMetadata::CargoMetadata,
|
||||||
);
|
);
|
||||||
|
|
||||||
let proc_macro_server_path = sysroot.discover_proc_macro_srv().unwrap();
|
let proc_macro_server_path = sysroot.discover_proc_macro_srv().unwrap();
|
||||||
|
|
Loading…
Reference in a new issue