about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check/region.rs
AgeCommit message (Expand)AuthorLines
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
2024-01-06Call `maybe_stmt_static_mut` inside `resolve_stmt`Obei Sideg-1/+3
2024-01-06Call `maybe_expr_static_mut` inside `resolve_expr`Obei Sideg-0/+4
2024-01-05Restore if let guard temporary scoping differenceMatthew Jasper-2/+11
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+2
2023-12-25Remove unnecessary body_expr_countMichael Goulet-4/+0
2023-12-21Give temporaries in if let guards correct scopesMatthew Jasper-3/+3
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-19/+17
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-09-11Move let expression checking to parsingMatthew Jasper-1/+1
2023-09-11Don't create drop scopes after item statementsMatthew Jasper-1/+5
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-1/+1
2023-04-28remove unused `mut`sLukas Markeffsky-1/+1