mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
ptr_arg
This commit is contained in:
parent
9527e245c9
commit
6738edc259
3 changed files with 2 additions and 3 deletions
|
@ -179,7 +179,6 @@ needless_doctest_main = "allow"
|
||||||
new_without_default = "allow"
|
new_without_default = "allow"
|
||||||
non_canonical_clone_impl = "allow"
|
non_canonical_clone_impl = "allow"
|
||||||
non_canonical_partial_ord_impl = "allow"
|
non_canonical_partial_ord_impl = "allow"
|
||||||
ptr_arg = "allow"
|
|
||||||
redundant_closure = "allow"
|
redundant_closure = "allow"
|
||||||
redundant_pattern_matching = "allow"
|
redundant_pattern_matching = "allow"
|
||||||
search_is_some = "allow"
|
search_is_some = "allow"
|
||||||
|
|
|
@ -946,7 +946,7 @@ impl InferenceContext<'_> {
|
||||||
derefed_callee: &Ty,
|
derefed_callee: &Ty,
|
||||||
adjustments: &mut Vec<Adjustment>,
|
adjustments: &mut Vec<Adjustment>,
|
||||||
callee_ty: &Ty,
|
callee_ty: &Ty,
|
||||||
params: &Vec<Ty>,
|
params: &[Ty],
|
||||||
tgt_expr: ExprId,
|
tgt_expr: ExprId,
|
||||||
) {
|
) {
|
||||||
match fn_x {
|
match fn_x {
|
||||||
|
|
|
@ -236,7 +236,7 @@ fn generate_impl(
|
||||||
ctx: &AssistContext<'_>,
|
ctx: &AssistContext<'_>,
|
||||||
strukt: &Struct,
|
strukt: &Struct,
|
||||||
field_ty: &ast::Type,
|
field_ty: &ast::Type,
|
||||||
field_name: &String,
|
field_name: &str,
|
||||||
delegee: &Delegee,
|
delegee: &Delegee,
|
||||||
) -> Option<ast::Impl> {
|
) -> Option<ast::Impl> {
|
||||||
let delegate: ast::Impl;
|
let delegate: ast::Impl;
|
||||||
|
|
Loading…
Reference in a new issue