about summary refs log tree commit diff
path: root/compiler/rustc_hir/src
AgeCommit message (Expand)AuthorLines
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-8/+5
2023-04-22Also arena-allocate `ast::MacroDef` to make `Item: Copy`Nilstrieb-4/+4
2023-04-22Impl `Copy` for almost all HIR typesNilstrieb-105/+65
2023-04-21offset_ofDrMeepster-1/+10
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-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-4/+5
2023-04-17doc fixMaybe Waffle-2/+0
2023-04-17Auto merge of #109588 - Nilstrieb:dropless-expr, r=compiler-errorsbors-1/+2
2023-04-16Alloc `hir::Lit` in an arena to remove the destructor from `Expr`Nilstrieb-1/+2
2023-04-16use matches! macro in more placesMatthias Krüger-4/+1
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-04-03Perform match checking on THIR.Camille GILLOT-11/+0
2023-03-31Auto merge of #109010 - compiler-errors:rtn, r=eholkbors-3/+19
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-0/+1
2023-03-29Properly skip RPITITs from ModChild and give a name in AssocItemSantiago Pastorino-5/+1
2023-03-28Add `(..)` syntax for RTNMichael Goulet-3/+19
2023-03-27Add a builtin `FnPtr` traitlcnr-0/+3
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-0/+1
2023-03-23Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholkDylan DPC-0/+1
2023-03-21Use local key in providersMichael Goulet-0/+6
2023-03-18move Option::as_slice to intrinsicAndre Bogus-0/+1
2023-03-17Rollup merge of #108958 - clubby789:unbox-the-hir, r=compiler-errorsMatthias Krüger-8/+1
2023-03-14Remove box expressions from HIRclubby789-8/+1
2023-03-14Rollup merge of #108923 - spastorino:new-rpitit-9, r=compiler-errorsMatthias Krüger-1/+5
2023-03-14Make fns from other crates with RPITIT workSantiago Pastorino-1/+5
2023-03-14Auto merge of #104833 - Swatinem:async-identity-future, r=compiler-errorsbors-1/+0
2023-03-08Remove `identity_future` indirectionArpad Borsos-1/+0
2023-03-08Only compute the crate hash when necessary.Nicholas Nethercote-18/+17
2023-02-28Only look for param in generics if it actually comes from genericsMichael Goulet-0/+15
2023-02-26Rollup merge of #108484 - Nilstrieb:Ë‚DiagnosticItemË‚FromFn˃ as FromË‚Ë...Matthias Krüger-2/+0
2023-02-26Remove `from_fn` lang itemNilstrieb-2/+0
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-5/+5
2023-02-25Add ErrorGuaranteed to HIR TyKind::ErrMichael Goulet-4/+4
2023-02-22diagnostics: if AssocFn has self argument, describe as methodMichael Howell-0/+9
2023-02-21Rollup merge of #108141 - spastorino:add_rpitit_queries, r=compiler-errorsDylan DPC-2/+4
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-19Add associated_items_for_impl_trait_in_trait querySantiago Pastorino-2/+4
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-7/+4
2023-02-14Add `of_trait` to DefKind::Impl.Camille GILLOT-6/+8
2023-02-13rustc_resolve: Remove `Resolver::clone_output`Vadim Petrochenkov-2/+2
2023-02-10Resolve documentation links in rustc and store the results in metadataVadim Petrochenkov-1/+15
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-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-10/+2
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-21/+27