We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd1b85 commit 497ee0eCopy full SHA for 497ee0e
compiler/rustc_typeck/src/check/gather_locals.rs
@@ -11,9 +11,9 @@ use std::mem;
11
pub(super) struct GatherLocalsVisitor<'a, 'tcx> {
12
fcx: &'a FnCtxt<'a, 'tcx>,
13
parent_id: hir::HirId,
14
- // params are special cases of pats, but we want to handle them as
15
- // *distinct* cases. so track when we are hitting a pat *within* an fn
16
- // 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.
17
outermost_fn_param_pat: bool,
18
}
19
0 commit comments