Home
last modified time | relevance | path

Searched defs:self_param (Results 1 – 16 of 16) sorted by relevance

/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dneedless_arbitrary_self_type.rs78 let self_param = match (binding_mode, mutbl) { in check_param_inner() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/inlay_hints/
Dfn_lifetime_fn.rs37 let self_param = param_list.self_param().filter(|it| it.amp_token().is_some()); in hints() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/
Dgenerate_enum_projection_method.rs105 self_param: &'static str, field
Dintroduce_named_lifetime.rs61 let self_param = in generate_fn_def_assist() localVariable
Dgenerate_documentation_template.rs382 let self_param = ast_func.param_list()?.self_param()?; in is_ref_mut_self() localVariable
Dextract_function.rs253 self_param: Option<ast::SelfParam>, field
414 let self_param = self.self_param.as_ref()?; in self_param_adt() localVariable
711 let mut self_param = None; in analyze() localVariable
1127 let self_param = func.self_param(ctx.db())?; in expr_require_exclusive_access() localVariable
1649 let self_param = self.self_param.clone(); in make_param_list() localVariable
Ddestructure_tuple_binding.rs382 let self_param = f.self_param(ctx.db())?; in handle_ref_field_usage() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/render/
Dfunction.rs306 let self_param = if has_dot_receiver || matches!(func_kind, FuncKind::Method(_, Some(_))) { in params() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/completions/
Ddot.rs61 let self_param = match expr_ctx { in complete_undotted_self() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/context/
Danalysis.rs847 let self_param = sema in classify_name_ref() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/item_tree/
Dlower.rs601 let self_param = TypeRef::Path(name![Self].into()); in lower_generic_params() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Dcontext.rs145 pub(crate) self_param: Option<hir::SelfParam>, field
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/
Dmake.rs830 pub fn self_param() -> ast::SelfParam { in self_param() function
/third_party/rust/rust/compiler/rustc_middle/src/ty/
Dcontext.rs291 pub self_param: Ty<'tcx>, field
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/
Dlib.rs1867 pub fn self_param(self, db: &dyn HirDatabase) -> Option<SelfParam> { in self_param() method
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/
Dnodes.rs84 pub fn self_param(&self) -> Option<SelfParam> { support::child(&self.syntax) } in self_param() method