mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Merge from rust-lang/rust
This commit is contained in:
commit
1017216452
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