about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/hir.rs
AgeCommit message (Expand)AuthorLines
2023-10-20s/Generator/Coroutine/Oli Scherer-23/+23
2023-09-21Record asyncness span in HIRMichael Goulet-9/+9
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-6/+6
2023-09-11Move let expression checking to parsingMatthew Jasper-0/+4
2023-09-01Return ident for ExprField and PatField HIR nodesGurinder Singh-2/+2
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-2/+2
2023-08-10Bugfix: 'can_have_side_effects()' would return 'false' for struct/enum/array/...Morten Lohne-2/+2
2023-08-08Auto merge of #114545 - fee1-dead-contrib:lower-impl-effect, r=oli-obkbors-1/+0
2023-08-08Unconditionally record lifetime mappingMichael Goulet-1/+1
2023-08-06lower impl const to bind to host effect paramDeadbeef-1/+0
2023-08-05Consolidate opaque ty and async fn lowering codeMichael Goulet-1/+1
2023-08-04Improve spans for indexing expressionsNilstrieb-3/+5
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-9/+14
2023-07-23more clippy::style fixes:Matthias Krüger-2/+1
2023-07-17Properly document lifetime_mapping in OpaqueTyMichael Goulet-4/+13
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-3/+9
2023-06-29Add bidirectional where clauses on RPITIT synthesized GATsSantiago Pastorino-0/+4
2023-06-29Intern OpaqueTy on ItemKind::OpaqueTySantiago Pastorino-1/+1
2023-06-26Auto merge of #112887 - WaffleLapkin:become_unuwuable_in_hir, r=compiler-erro...bors-0/+5
2023-06-26`hir`: Add `Become` expression kindMaybe Waffle-0/+5
2023-06-22Move some field extraction logic onto a method on `Node`Oli Scherer-0/+23
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-2/+19
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-12Require `impl Trait` in associated types to appear in method signaturesOli Scherer-1/+4
2023-05-02Implement negative boundsMichael Goulet-0/+1
2023-04-28Remove some unnecessary derives.Nicholas Nethercote-41/+37
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-2/+2
2023-04-22Also arena-allocate `ast::MacroDef` to make `Item: Copy`Nilstrieb-3/+3
2023-04-22Impl `Copy` for almost all HIR typesNilstrieb-64/+64
2023-04-21offset_ofDrMeepster-1/+6
2023-04-19Auto merge of #110061 - WaffleLapkin:duality_of_myself_and_this, r=cjgillotbors-8/+31
2023-04-19Extend and use `hir::Node::body_id`Maybe Waffle-8/+31
2023-04-19Fix wrong comment in rustc_hir/src/hir.rsAskar Safin-1/+1
2023-04-17doc fixMaybe Waffle-2/+0
2023-04-16Alloc `hir::Lit` in an arena to remove the destructor from `Expr`Nilstrieb-1/+1
2023-03-28Add `(..)` syntax for RTNMichael Goulet-3/+19
2023-03-14Remove box expressions from HIRclubby789-7/+1
2023-03-08Only compute the crate hash when necessary.Nicholas Nethercote-9/+9
2023-02-28Only look for param in generics if it actually comes from genericsMichael Goulet-0/+15
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-4/+4
2023-02-25Add ErrorGuaranteed to HIR TyKind::ErrMichael Goulet-3/+3
2023-02-20Rollup merge of #108255 - fee1-dead-contrib:fix-old-fixme, r=cjgillotMatthias Krüger-2/+0
2023-02-20Remove old FIXMEs referring to #19596Deadbeef-2/+0
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-7/+4
2023-02-13rustc_resolve: Remove `Resolver::clone_output`Vadim Petrochenkov-1/+1
2023-01-30Rollup merge of #107125 - WaffleLapkin:expect_an_item_in_your_hir_by_the_next...Matthias Krüger-3/+360
2023-01-30fix `TraitItemKind::expect_type` docsMaybe Waffle-1/+1
2023-01-30Improve ICE messages for `*::expect_*`Maybe Waffle-49/+69
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-3/+0
2023-01-27Impl HashStable/Encodable/Decodable for ObligationCause.Camille GILLOT-2/+2