mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +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
|
@ -315,7 +315,7 @@ pub fn diagnostics(
|
|||
handlers::json_is_not_rust::json_in_items(&sema, &mut res, file_id, &node, config);
|
||||
}
|
||||
|
||||
let module = sema.to_module_def(file_id);
|
||||
let module = sema.file_to_module_def(file_id);
|
||||
|
||||
let ctx = DiagnosticsContext { config, sema, resolve };
|
||||
if module.is_none() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue