Searched defs:crate_root (Results 1 – 12 of 12) sorted by relevance
45 const SourceFile& crate_root() const { return crate_root_; } in crate_root() function
189 SourceFile crate_root = target->rust_values().crate_root(); in AddTarget() local
84 let crate_root = def_map.crate_root().into(); in find_path_inner() localVariable650 fn crate_root() { in crate_root() function
441 pub fn crate_root(&self) -> CrateRootModuleId { in crate_root() method
255 let crate_root = if ident.is_path_segment_keyword() { in try_resolve_visibility() localVariable420 let crate_root = match prefix_iter.peek() { in build_reduced_graph_for_use_tree() localVariable504 let crate_root = self.r.resolve_crate_root(source.ident); in build_reduced_graph_for_use_tree() localVariable
1331 let crate_root = self.expect_module(crate_id.as_def_id()); in lookup_import_candidates() localVariable
1879 let crate_root = self.expect_module(crate_id.as_def_id()); in extern_prelude_get() localVariable
209 let crate_root = default_crate_root in parse_with_proc_macros() localVariable
373 let crate_root = metadata.get_root(); in register_crate() localVariable
543 pub fn crate_root(&self, crate_id: CrateId) -> Cancellable<FileId> { in crate_root() method
2335 let crate_root = abs_crate_src.parent()?.parent()?; in render_call_locations() localVariable
477 pub fn crate_root(self, db: &dyn HirDatabase) -> Module { in crate_root() method