Home
last modified time | relevance | path

Searched defs:current_module (Results 1 – 19 of 19) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/
Dfix_visibility.rs50 let current_module = ctx.sema.scope(path.syntax())?.module(); in add_vis_to_referenced_module_def() localVariable
95 let current_module = ctx.sema.scope(record_field.syntax())?.module(); in add_vis_to_referenced_record_field() localVariable
Dgenerate_new.rs45 let current_module = ctx.sema.scope(strukt.syntax())?.module(); in generate_new() localVariable
Dgenerate_constant.rs57 let mut current_module = constant_module; in generate_constant() localVariable
Dgenerate_delegate_methods.rs50 let current_module = ctx.sema.scope(strukt.syntax())?.module(); in generate_delegate_methods() localVariable
Dqualify_method_call.rs44 let current_module = ctx.sema.scope(call.syntax())?.module(); in qualify_method_call() localVariable
Dexpand_glob_import.rs53 let current_module = current_scope.module(); in expand_glob_import() localVariable
Dgenerate_function.rs280 let current_module = ctx.sema.scope(call.syntax())?.module(); in from_call() localVariable
322 let current_module = ctx.sema.scope(call.syntax())?.module(); in from_method_call() localVariable
496 let current_module = ctx.sema.scope(call.syntax())?.module(); in assoc_fn_target_info() localVariable
1074 let current_module = current_module.nearest_non_block_module(db); in calculate_necessary_visibility() localVariable
Dauto_import.rs122 let current_module = in auto_import() localVariable
Dextract_struct_from_enum_variant.rs65 let current_module = enum_hir.module(ctx.db()); in extract_struct_from_enum_variant() localVariable
Dreplace_derive_with_manual_impl.rs69 let current_module = ctx.sema.scope(adt.syntax())?.module(); in replace_derive_with_manual_impl() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Dlib.rs224 let current_module = sema.scope(position_for_import)?.module(); localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/
Dmod_.rs26 let mut current_module = ctx.module; in complete_mod() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/
Djson_is_not_rust.rs132 let current_module = semantics_scope.module(); in json_in_items() localVariable
Dmissing_fields.rs61 let current_module = match &d.field_list_parent { in fixes() localVariable
/third_party/rust/crates/bindgen/bindgen/ir/
Ditem.rs1326 let current_module = ctx.current_module().into(); in parse() localVariable
1523 let current_module = ctx.current_module(); in from_ty_or_ref_with_id() localVariable
1649 let current_module = ctx.current_module().into(); in from_ty_with_id() localVariable
Dcontext.rs331 current_module: ModuleId, field
1523 pub(crate) fn current_module(&self) -> ModuleId { in current_module() method
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/imports/
Dimport_assets.rs449 let mut current_module = match candidate { in module_with_segment_name() localVariable
/third_party/rust/rust/compiler/rustc_resolve/src/
Dbuild_reduced_graph.rs355 let current_module = self.parent_scope.module; in add_import() localVariable
/third_party/flatbuffers/src/
Didl_gen_rust.cpp299 Module *current_module = this; in GenerateRustModuleRootFile() local