This commit is contained in:
Johann Hemmann 2024-01-19 16:23:20 +01:00
parent 9527e245c9
commit 6738edc259
3 changed files with 2 additions and 3 deletions

View file

@ -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"

View file

@ -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 {

View file

@ -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;