about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check/region.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-10Auto merge of #121346 - m-ou-se:temp-lifetime-if-else-match, r=compiler-errorsbors-0/+13
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-1/+1
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-3/+3
2024-03-22Update (doc) commentsLeón Orell Valerian Liehr-1/+1
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-1/+1
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-2/+2
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-1/+1
2024-02-20Propagate temporary lifetime extension into if and match.Mara Bos-0/+13
2024-02-12remove a bunch of dead parameters in fnyukang-7/+2
2024-01-17Add `PatKind::Err`Lieselotte-1/+2