1
Fork 0

Migrate doc_comment_on_fn_param, forbidden_attr_on_fn_param

This commit is contained in:
finalchild 2022-08-18 17:46:01 +09:00
parent 269c85390c
commit c6903c04b1
3 changed files with 24 additions and 12 deletions

View file

@ -46,3 +46,10 @@ ast_passes_c_var_args_without_named_arg =
ast_passes_c_var_args_not_last =
`...` must be the last argument of a C-variadic function
ast_passes_doc_comment_on_fn_param =
documentation comments cannot be applied to function parameters
.label = doc comments are not allowed here
ast_passes_forbidden_attr_on_fn_param =
allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters