mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 07:37:30 +00:00
Support Display name in project.json
This commit is contained in:
parent
3b1a648539
commit
f753c3ecd2
3 changed files with 10 additions and 3 deletions
|
@ -335,8 +335,7 @@ impl ProjectWorkspace {
|
|||
crate_graph.add_crate_root(
|
||||
file_id,
|
||||
krate.edition,
|
||||
// FIXME json definitions can store the crate name
|
||||
None,
|
||||
krate.display_name.clone(),
|
||||
cfg_options,
|
||||
env,
|
||||
proc_macro.unwrap_or_default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue