mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Show proc-macro loading errors in unresolved-proc-macro diagnostics
This commit is contained in:
parent
15c63c4119
commit
7d51fc4640
14 changed files with 149 additions and 114 deletions
|
@ -159,7 +159,7 @@ impl ChangeFixture {
|
|||
meta.cfg.clone(),
|
||||
meta.cfg,
|
||||
meta.env,
|
||||
Default::default(),
|
||||
Ok(Vec::new()),
|
||||
false,
|
||||
origin,
|
||||
);
|
||||
|
@ -194,7 +194,7 @@ impl ChangeFixture {
|
|||
default_cfg.clone(),
|
||||
default_cfg,
|
||||
Env::default(),
|
||||
Default::default(),
|
||||
Ok(Vec::new()),
|
||||
false,
|
||||
CrateOrigin::CratesIo { repo: None },
|
||||
);
|
||||
|
@ -231,7 +231,7 @@ impl ChangeFixture {
|
|||
CfgOptions::default(),
|
||||
CfgOptions::default(),
|
||||
Env::default(),
|
||||
Vec::new(),
|
||||
Ok(Vec::new()),
|
||||
false,
|
||||
CrateOrigin::Lang(LangCrateOrigin::Core),
|
||||
);
|
||||
|
@ -268,7 +268,7 @@ impl ChangeFixture {
|
|||
CfgOptions::default(),
|
||||
CfgOptions::default(),
|
||||
Env::default(),
|
||||
proc_macro,
|
||||
Ok(proc_macro),
|
||||
true,
|
||||
CrateOrigin::CratesIo { repo: None },
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue