diff options
Diffstat (limited to 'crates/ra_hir/src/module.rs')
-rw-r--r-- | crates/ra_hir/src/module.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/module.rs b/crates/ra_hir/src/module.rs index 580c737c3..e7a49f83a 100644 --- a/crates/ra_hir/src/module.rs +++ b/crates/ra_hir/src/module.rs | |||
@@ -280,7 +280,7 @@ impl ModuleSource { | |||
280 | ) -> ModuleSource { | 280 | ) -> ModuleSource { |
281 | assert!(!m.has_semi()); | 281 | assert!(!m.has_semi()); |
282 | let file_items = db.file_items(file_id); | 282 | let file_items = db.file_items(file_id); |
283 | let item_id = file_items.id_of(m.syntax()); | 283 | let item_id = file_items.id_of(file_id, m.syntax()); |
284 | ModuleSource::new(file_id, item_id) | 284 | ModuleSource::new(file_id, item_id) |
285 | } | 285 | } |
286 | 286 | ||