diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-08 11:52:43 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-08 11:52:43 +0000 |
commit | 596e6db46c9c79b2b2be20a4b5461dca35d44b0f (patch) | |
tree | e2ed14ae5aaf7756b1b8f19eaf1318102bd9a26b /crates/ra_ide | |
parent | 7a6b6ed0a5311cabee9d68a89100aed46523243b (diff) | |
parent | e2cc55207619f987fd5cc274628b8e49e15ec856 (diff) |
Merge #2499
2499: Remove ty from code_model r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/parent_module.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/parent_module.rs b/crates/ra_ide/src/parent_module.rs index aef3fa3df..f5a788c07 100644 --- a/crates/ra_ide/src/parent_module.rs +++ b/crates/ra_ide/src/parent_module.rs | |||
@@ -30,7 +30,7 @@ pub(crate) fn crate_for(db: &RootDatabase, file_id: FileId) -> Vec<CrateId> { | |||
30 | None => return Vec::new(), | 30 | None => return Vec::new(), |
31 | }; | 31 | }; |
32 | let krate = module.krate(); | 32 | let krate = module.krate(); |
33 | vec![krate.crate_id()] | 33 | vec![krate.into()] |
34 | } | 34 | } |
35 | 35 | ||
36 | #[cfg(test)] | 36 | #[cfg(test)] |