Module rustc_hir_typeck::gather_locals
source ยท Structsยง
- Declaration ๐A declaration is an abstraction of hir::LetStmt and hir::LetExpr.
- Gather
Locals ๐Visitor
Enumsยง
- Decl
Origin ๐Provides context for checking patterns in declarations. More specifically this allows us to infer array types if the pattern is irrefutable and allows us to infer the size of the array. See issue #76342.