Home
last modified time | relevance | path

Searched defs:ModPath (Results 1 – 21 of 21) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-expand/src/
Dmod_path.rs19 pub struct ModPath { struct
25 pub struct UnescapedModPath<'a>(&'a ModPath); argument
45 impl ModPath { impl
50 ) -> Option<ModPath> { in from_src()
60 pub const fn from_kind(kind: PathKind) -> ModPath { in from_kind()
146 impl From<Name> for ModPath { implementation
147 fn from(name: Name) -> ModPath { in from()
153 path: &ModPath, in display_fmt_path()
194 prefix: Option<ModPath>, in convert_path()
197 ) -> Option<ModPath> { in convert_path()
Dattrs.rs242 pub fn path(&self) -> &ModPath { in path()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dfind_path.rs24 ) -> Option<ModPath> { in find_path()
35 ) -> Option<ModPath> { in find_path_prefixed()
77 ) -> Option<ModPath> { in find_path_inner()
158 ) -> Option<ModPath> { in find_path_for_module()
246 ) -> Option<ModPath> { in find_in_prelude()
275 fn find_self_super(def_map: &DefMap, item: ModuleId, from: ModuleId) -> Option<ModPath> { in find_self_super()
303 ) -> Option<ModPath> { in calculate_best_path()
390 fn select_best_path(old_path: ModPath, new_path: ModPath, prefer_no_std: bool) -> ModPath { in select_best_path()
Dpath.rs105 path: ModPath, in from_known_path()
151 pub fn mod_path(&self) -> Option<&ModPath> { in mod_path()
Dresolver.rs155 path: &ModPath, in resolve_module_path_in_trait_assoc_items()
392 path: &ModPath, in resolve_path_as_macro()
638 path: &ModPath, in resolve_module_path()
801 path: &ModPath, in resolve_path_in_value_ns()
833 path: &ModPath, in resolve_path_in_type_ns()
Ditem_tree.rs780 mut cb: impl FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>), in expand() argument
787 prefix: Option<ModPath>, in expand_impl()
791 prefix: Option<ModPath>, in expand_impl()
792 path: &ModPath, in expand_impl()
793 ) -> Option<(ModPath, ImportKind)> { in expand_impl()
Dnameres.rs449 path: &ModPath, in resolve_path()
468 path: &ModPath, in resolve_path_locally()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/render/
Dunion_literal.rs18 path: Option<hir::ModPath>, in render_union_literal()
Dliteral.rs25 path: Option<hir::ModPath>, in render_variant_lit()
38 path: Option<hir::ModPath>, in render_struct_literal()
Dpattern.rs51 path: Option<&hir::ModPath>, in render_variant_pat()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Dcompletions.rs424 path: hir::ModPath, in add_qualified_enum_variant()
491 path: Option<hir::ModPath>, in add_struct_literal()
508 path: Option<hir::ModPath>, in add_union_literal()
567 path: hir::ModPath, in add_qualified_variant_pat()
604 cb: impl Fn(&mut Completions, &CompletionContext<'_>, hir::Variant, hir::ModPath), in enum_variants_with_paths()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/imports/
Dimport_assets.rs197 import_path: ModPath, in new()
200 original_path: Option<ModPath>, in new()
356 mod_path: impl Fn(ItemInNs) -> Option<ModPath>, in import_for_item()
471 mod_path: impl Fn(ItemInNs) -> Option<ModPath>, in trait_applicable_items()
572 ) -> Option<ModPath> { in get_mod_path()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Dpath_resolution.rs129 path: &ModPath, in resolve_path_fp_with_macro()
178 path: &ModPath, in resolve_path_fp_with_macro_single()
Ddiagnostics.rs126 path: ModPath, in unresolved_macro_call()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/
Dextract_struct_from_enum_variant.rs354 import: Option<(ImportScope, hir::ModPath)>, in apply_references()
373 ) -> Vec<(ast::PathSegment, SyntaxNode, Option<(ImportScope, hir::ModPath)>)> { in process_references()
Dgenerate_deref.rs132 trait_path: ModPath, in generate_edit()
Dqualify_path.rs114 import: &hir::ModPath, in qualify()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/
Dflyimport.rs388 proposed_mod_path: &hir::ModPath, in compute_fuzzy_completion_order_key()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAsmWriter.cpp1030 for (auto &ModPath : TheIndex->modulePaths()) in processIndex() local
2690 for (auto &ModPath : TheIndex->modulePaths()) in printModuleSummaryIndex() local
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/
Dinfer.rs1173 path: &ModPath, in resolve_variant_on_alias()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/
Dlib.rs676 ) -> Option<ModPath> { in find_use_path()
688 ) -> Option<ModPath> { in find_use_path_prefixed()