mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
fix: Don't duplicate sysroot crates in rustc workspace
This commit is contained in:
parent
3c862507b9
commit
ecb8616870
4 changed files with 30 additions and 12 deletions
|
@ -74,7 +74,7 @@ pub(super) fn hints(
|
|||
capture.display_place(sema.db)
|
||||
),
|
||||
None,
|
||||
source.name().and_then(|name| sema.original_range_opt(name.syntax())),
|
||||
source.name().and_then(|name| name.syntax().original_file_range_opt(sema.db)),
|
||||
),
|
||||
text_edit: None,
|
||||
position: InlayHintPosition::After,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue