1
Fork 0

Migrate forbidden_lifetime_bound, forbidden_non_lifetime_param, too_many_params, c_var_args_without_named_arg, c_var_args_not_last

This commit is contained in:
finalchild 2022-08-18 17:38:11 +09:00
parent 8d042f4483
commit 269c85390c
3 changed files with 57 additions and 26 deletions

View file

@ -31,3 +31,18 @@ ast_passes_trait_fn_async =
ast_passes_trait_fn_const =
functions in traits cannot be declared const
.label = functions in traits cannot be const
ast_passes_forbidden_lifetime_bound =
lifetime bounds cannot be used in this context
ast_passes_forbidden_non_lifetime_param =
only lifetime parameters can be used in this context
ast_passes_too_many_params =
function can not have more than {$max_num_args} arguments
ast_passes_c_var_args_without_named_arg =
C-variadic function must be declared with at least one named argument
ast_passes_c_var_args_not_last =
`...` must be the last argument of a C-variadic function