about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/loops.rs
AgeCommit message (Expand)AuthorLines
2025-06-10Remove check_mod_loops query and run the checks per-body insteadOli Scherer-402/+0
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Remove `sess` from `CheckLoopVisitor`.Nicholas Nethercote-17/+11
2024-09-13Remove unnecessary lifetime from `CheckLoopVisitor`.Nicholas Nethercote-6/+6
2024-08-06Don't Suggest Labeling `const` and `unsafe` BlocksVeera-14/+26
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+1
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-3/+4
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-4/+3
2024-05-22For OutsideLoop we should not suggest add 'block label in if block, or we wii...surechen-24/+148
2024-05-08Fix Error Messages for `break` Inside CoroutinesVeera-9/+23
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-2/+2
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-10/+9
2023-12-25Only regular coroutines have movabilityMichael Goulet-7/+4
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-10/+12
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-9/+9
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-8/+7
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-10-16tweak pass description and fix lint fail post-rebaseArthur Lafrance-1/+1
2023-10-09Account for macrosEsteban Küber-1/+1
2023-10-09Suggest labeling block if `break` is in bare blockEsteban Küber-8/+47
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-2/+2
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-3/+7
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2022-11-05Specify that `break` cannot be used outside of loop *or* labeled blockclubby789-1/+1
2022-10-07migrate loops.rs to translateable diagnosticsNathan Stocks-116/+45
2022-07-12Add an indirection for closures in `hir::ExprKind`Maybe Waffle-1/+7
2022-07-07Reword comments and rename HIR visiting methods.Camille GILLOT-1/+1
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-5/+5
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-5/+5
2022-05-13rename visit item-like methodsMiguel Guarniz-1/+1
2022-05-13remove ItemLikeVisitor and DeepVisitorMiguel Guarniz-1/+1
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-4/+5
2021-01-21Do not suggest using a break label when one is already presentEsteban Küber-6/+11
2021-01-21Tweak error for invalid `break expr`Esteban Küber-20/+56
2021-01-21Add loop head span to hirEsteban Küber-3/+2
2020-08-30mv compiler to compiler/mark-0/+240