diff options
author | Kirill Bulatov <[email protected]> | 2020-09-07 17:21:39 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-09-09 23:42:20 +0100 |
commit | 6ba479cd058aa54a9f161085c7ff9ac1f12d8df3 (patch) | |
tree | 1fc72b28fba9df437edb514ec6c7c31af1d7406a /crates/base_db | |
parent | 33179a0ae1ba9a908cc34a4cf87599ed779b9886 (diff) |
Finally cretae the mod completion module
Diffstat (limited to 'crates/base_db')
-rw-r--r-- | crates/base_db/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/base_db/src/lib.rs b/crates/base_db/src/lib.rs index 9733e1fd3..321007d33 100644 --- a/crates/base_db/src/lib.rs +++ b/crates/base_db/src/lib.rs | |||
@@ -199,7 +199,7 @@ fn possible_sudmobule_names(module_files: &FileSet, module_file: FileId) -> Vec< | |||
199 | }) | 199 | }) |
200 | .filter_map(|file_name_and_extension| { | 200 | .filter_map(|file_name_and_extension| { |
201 | match file_name_and_extension { | 201 | match file_name_and_extension { |
202 | // TODO kb wrong resolution for nested non-file modules (mod tests {mod <|>) | 202 | // TODO kb wrong resolution for nested non-file modules (mod tests { mod <|> }) |
203 | // TODO kb in src/bin when a module is included into another, | 203 | // TODO kb in src/bin when a module is included into another, |
204 | // the included file gets "moved" into a directory below and now cannot add any other modules | 204 | // the included file gets "moved" into a directory below and now cannot add any other modules |
205 | ("mod", Some("rs")) | ("lib", Some("rs")) | ("main", Some("rs")) => None, | 205 | ("mod", Some("rs")) | ("lib", Some("rs")) | ("main", Some("rs")) => None, |