mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Add prefix file_
to Semantics
's to_module_defs()
/to_module_def()
methods
This commit is contained in:
parent
0ac05c0527
commit
6112ddfabb
12 changed files with 16 additions and 16 deletions
|
@ -223,7 +223,7 @@ fn traverse(
|
|||
krate: hir::Crate,
|
||||
range_to_highlight: TextRange,
|
||||
) {
|
||||
let is_unlinked = sema.to_module_def(file_id).is_none();
|
||||
let is_unlinked = sema.file_to_module_def(file_id).is_none();
|
||||
let mut bindings_shadow_count: FxHashMap<Name, u32> = FxHashMap::default();
|
||||
|
||||
enum AttrOrDerive {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue