about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check/region.rs
AgeCommit message (Expand)AuthorLines
2025-09-17Rollup merge of #145838 - dianne:non-extending-super-let, r=jackh726,traviscrossStuart Cook-5/+19
2025-09-04don't extend non-extended `super let` initializers' block tail tempsdianne-5/+19
2025-08-13fix scope of `super let` bindings within `if let`dianne-6/+2
2025-08-07only introduce a guard scope for arms with guardsdianne-5/+5
2025-08-07add a scope for `if let` guard temporaries and bindingsdianne-0/+5
2025-07-13Auto merge of #143213 - dianne:lower-cond-tweaks, r=cjgillotbors-11/+27
2025-07-05de-duplicate condition scoping logicdianne-11/+27
2025-07-05Remove yields_in_scope from the scope tree.Camille GILLOT-168/+37
2025-06-13Add comment.Mara Bos-0/+3
2025-06-13Implement temporary lifetime extension for tuple ctors.Mara Bos-7/+11
2025-04-07Rollup merge of #139112 - m-ou-se:super-let, r=lcnrStuart Cook-16/+85
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-0/+1
2025-04-07More trivial tweaksMichael Goulet-7/+4
2025-04-04Boolean hate.Mara Bos-5/+15
2025-04-04Implement `super let`.Mara Bos-16/+75
2025-03-28Remove `terminating_scopes` hash set.Mara Bos-164/+95
2025-03-28Remove outdated comment.Mara Bos-1/+0
2025-03-28Remove ScopeDepth entirely.Mara Bos-24/+14
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-0/+1
2025-03-26Remove ScopeDepth from var_parent.Mara Bos-10/+16
2025-03-26Don't set cx.parent to None; it seems unnecessary.Mara Bos-2/+1
2025-03-26Simplify RvalueCandidateType.Mara Bos-8/+2
2025-03-26Don't record child scopes for patterns.Mara Bos-2/+0
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-3/+3
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-2/+2
2025-01-29Eliminate PatKind::PathOli Scherer-1/+0
2025-01-09Rename RegionResolutionVisitor to ScopeResolutionVisitorMichael Goulet-12/+12
2025-01-09Make sure to walk into nested const blocks in RegionResolutionVisitorMichael Goulet-4/+8
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-1/+4
2024-12-19Rename Scope.id to Scope.local_id, remove trivial accessorMichael Goulet-11/+11
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-2/+18
2024-10-29Rollup merge of #131984 - dingxiangfei2009:stabilize-if-let-rescope, r=travis...Matthias Krüger-4/+2
2024-10-24stabilize if_let_rescopeDing Xiang Fei-4/+2
2024-10-24stabilize shorter-tail-lifetimesDing Xiang Fei-3/+1
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-3/+5
2024-09-13Disallow hidden references to mutable staticObei Sideg-6/+0
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-2/+12
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_hir_analysis`.Nicholas Nethercote-0/+1
2024-08-27Add `warn(unreachable_pub)` to `rustc_hir_analysis`.Nicholas Nethercote-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+2
2024-06-18tail expression behind terminating scopeDing Xiang Fei-2/+8
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-5/+2
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-3/+2
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-1/+1
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-2/+5
2024-05-28Make body-visiting logic reusableOli Scherer-53/+59
2024-05-15Fix more new for_loops_over_fallibles hits in compiler.Zachary S-2/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_hir_analysis`.Nicholas Nethercote-0/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+2