summary refs log tree commit diff
path: root/compiler/rustc_hir/src
AgeCommit message (Expand)AuthorLines
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-18Auto merge of #111345 - jyn514:cfg-release-caching, r=cjgillot,est31bors-3/+3
2023-05-17Only depend on CFG_VERSION in rustc_interfacejyn-3/+3
2023-05-17Rollup merge of #111648 - Nilstrieb:language-items, r=WaffleLapkinDylan DPC-19/+0
2023-05-16Remove `LangItems::require`Nilstrieb-19/+0
2023-05-12Require `impl Trait` in associated types to appear in method signaturesOli Scherer-1/+4
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+1
2023-05-03Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3Manish Goregaokar-0/+1
2023-05-03Add cross-language LLVM CFI support to the Rust compilerRamon de C Valle-0/+1
2023-05-02Implement negative boundsMichael Goulet-0/+1
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+1
2023-05-02Rollup merge of #108161 - WaffleLapkin:const_param_ty, r=BoxyUwUDylan DPC-0/+2
2023-04-28Remove some unnecessary derives.Nicholas Nethercote-41/+37
2023-04-27Add a `ConstParamTy` traitMaybe Waffle-0/+2
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