mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix crate display name dashes
This commit is contained in:
parent
6bc226fa19
commit
059ed25a3e
6 changed files with 40 additions and 20 deletions
|
@ -109,7 +109,7 @@ impl MockAnalysis {
|
|||
let other_crate = crate_graph.add_crate_root(
|
||||
file_id,
|
||||
Edition2018,
|
||||
Some(crate_name.to_owned()),
|
||||
Some(CrateName::new(crate_name).unwrap()),
|
||||
cfg_options,
|
||||
Env::default(),
|
||||
Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue