diff options
author | Aleksey Kladov <[email protected]> | 2019-04-13 07:50:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-13 07:50:02 +0100 |
commit | cec67b2b652e1ee140635828ba2bca1fb95cd49a (patch) | |
tree | efc71884132502895157910a1ace2dfadfa547fc /crates/ra_ide_api/src | |
parent | 1e8569dce9a7259208503a6819d0a93618ddcc45 (diff) |
obsolete fixm
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/runnables.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/runnables.rs b/crates/ra_ide_api/src/runnables.rs index 2395930f0..3969076a8 100644 --- a/crates/ra_ide_api/src/runnables.rs +++ b/crates/ra_ide_api/src/runnables.rs | |||
@@ -65,7 +65,6 @@ fn runnable_mod(db: &RootDatabase, file_id: FileId, module: &ast::Module) -> Opt | |||
65 | let range = module.syntax().range(); | 65 | let range = module.syntax().range(); |
66 | let module = hir::source_binder::module_from_child_node(db, file_id, module.syntax())?; | 66 | let module = hir::source_binder::module_from_child_node(db, file_id, module.syntax())?; |
67 | 67 | ||
68 | // FIXME: thread cancellation instead of `.ok`ing | ||
69 | let path = module.path_to_root(db).into_iter().rev().filter_map(|it| it.name(db)).join("::"); | 68 | let path = module.path_to_root(db).into_iter().rev().filter_map(|it| it.name(db)).join("::"); |
70 | Some(Runnable { range, kind: RunnableKind::TestMod { path } }) | 69 | Some(Runnable { range, kind: RunnableKind::TestMod { path } }) |
71 | } | 70 | } |