aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-08 11:52:43 +0000
committerGitHub <[email protected]>2019-12-08 11:52:43 +0000
commit596e6db46c9c79b2b2be20a4b5461dca35d44b0f (patch)
treee2ed14ae5aaf7756b1b8f19eaf1318102bd9a26b /crates/ra_ide/src
parent7a6b6ed0a5311cabee9d68a89100aed46523243b (diff)
parente2cc55207619f987fd5cc274628b8e49e15ec856 (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/src')
-rw-r--r--crates/ra_ide/src/parent_module.rs2
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)]