mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +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"
|
||||
non_canonical_clone_impl = "allow"
|
||||
non_canonical_partial_ord_impl = "allow"
|
||||
ptr_arg = "allow"
|
||||
redundant_closure = "allow"
|
||||
redundant_pattern_matching = "allow"
|
||||
search_is_some = "allow"
|
||||
|
|
|
@ -946,7 +946,7 @@ impl InferenceContext<'_> {
|
|||
derefed_callee: &Ty,
|
||||
adjustments: &mut Vec<Adjustment>,
|
||||
callee_ty: &Ty,
|
||||
params: &Vec<Ty>,
|
||||
params: &[Ty],
|
||||
tgt_expr: ExprId,
|
||||
) {
|
||||
match fn_x {
|
||||
|
|
|
@ -236,7 +236,7 @@ fn generate_impl(
|
|||
ctx: &AssistContext<'_>,
|
||||
strukt: &Struct,
|
||||
field_ty: &ast::Type,
|
||||
field_name: &String,
|
||||
field_name: &str,
|
||||
delegee: &Delegee,
|
||||
) -> Option<ast::Impl> {
|
||||
let delegate: ast::Impl;
|
||||
|
|
Loading…
Reference in a new issue