Closed
Description
For example, ideally fn visit_arg
would be named fn visit_param
since this is about formal parameters (in function signatures and from the POV inside the function body) instead of actual arguments (the values you pass to functions).
The type Arg
should probably be named Param
.
(This is not an exhaustive list, there are other places "arg" is used not mentioned here that should probably use "param" instead)
cc @petrochenkov @c410-f3r
cc #61856
This issue has been assigned to @kper via this comment.
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Area: Compiler frontend (errors, parsing and HIR)Area: The lexing & parsing of Rust source code to an ASTCategory: PRs that clean code up or issues documenting cleanup.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Status: Blocked on something else such as an RFC or other implementation work.Relevant to the compiler team, which will review and decide on the PR/issue.