mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
param -> parameter, pat -> pattern
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
pub(super) struct GatherLocalsVisitor<'a, 'tcx> {
|
||||
fcx: &'a FnCtxt<'a, 'tcx>,
|
||||
parent_id: hir::HirId,
|
||||
// params are special cases of pats, but we want to handle them as
|
||||
// *distinct* cases. so track when we are hitting a pat *within* an fn
|
||||
// param.
|
||||
// parameters are special cases of patterns, but we want to handle them as
|
||||
// *distinct* cases. so track when we are hitting a pattern *within* an fn
|
||||
// parameter.
|
||||
outermost_fn_param_pat: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user