about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/hir.rs
AgeCommit message (Expand)AuthorLines
2025-02-08Rustfmtbjorn3-9/+8
2025-02-06Rollup merge of #136219 - yotamofek:pr/hir-cleanup, r=compiler-errorsMatthias Krüger-56/+36
2025-02-05Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obkLeón Orell Valerian Liehr-0/+2
2025-02-04Rollup merge of #136284 - oli-obk:push-zsxuwnzmonnl, r=lcnrMatthias Krüger-1/+20
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+2
2025-02-03Use a different hir type for patterns in pattern types than we use in match p...Oli Scherer-1/+20
2025-01-30implement unstable `new_range` featurePeter Jaszkowiak-1/+40
2025-01-29Eliminate PatKind::PathOli Scherer-5/+2
2025-01-28rustc_hir: remove some uneeded refs and derefsYotam Ofek-12/+12
2025-01-28rustc_hir: flatten nested `if`sYotam Ofek-14/+12
2025-01-28rustc_hir: fix typo in commentYotam Ofek-1/+1
2025-01-28rustc_hir: don't open-code `Iterator::eq`Yotam Ofek-4/+1
2025-01-28rustc_hir: use box patterns to flatten some nested pattern matchesYotam Ofek-24/+9
2025-01-28rustc_hir: replace `is_empty()`+indexing with `first()`Yotam Ofek-1/+1
2025-01-24rustc_hir: replace `debug_fn` with unstable `fmt::from_fn`Yotam Ofek-17/+7
2025-01-23make `hir::Ty/ConstArg` methods generic where applicableBoxy-10/+20
2025-01-23`visit_x_unambig`Boxy-1/+1
2025-01-23Bless and add testsBoxy-0/+3
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-34/+133
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-6/+7
2025-01-17Auto merge of #135329 - oli-obk:push-sytltwnzxlrq, r=Noratriebbors-2/+20
2025-01-15Treat safe target_feature functions as unsafe by defaultOli Scherer-0/+11
2025-01-14Add hir::HeaderSafety to make follow up commits simplerOli Scherer-2/+23
2025-01-10Stable Hash: Ignore all HirIds that just identify the node itselfOli Scherer-2/+20
2025-01-09Rollup merge of #128110 - veera-sivarajan:bugfix-80173, r=cjgillotMatthias Krüger-1/+13
2025-01-08Rename PatKind::Lit to ExprOli Scherer-4/+4
2025-01-08Exhaustively handle expressions in patternsOli Scherer-2/+27
2025-01-07Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obkMatthias Krüger-2/+5
2025-01-04Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obkbors-11/+19
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked a...Ralf Jung-2/+10
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-11/+11
2025-01-02nit: Make get_infer_ret_ty name more consistent with is_suggestable_infer_tyMichael Goulet-1/+1
2025-01-01Rollup merge of #135000 - compiler-errors:opaque-captures-dupe, r=lqdMatthias Krüger-7/+9
2025-01-01Fix ICE when opaque captures a duplicated/invalid lifetimeMichael Goulet-7/+9
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-2/+5
2024-12-31Convert some Into impls into From implsMichael Goulet-15/+15
2024-12-21Suggest Semicolon in Incorrect Repeat ExpressionsVeera-1/+13
2024-12-21Rollup merge of #133782 - dtolnay:closuresjumps, r=spastorino,traviscrossMatthias Krüger-4/+9
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+250
2024-12-15Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=UrgauStuart Cook-1/+14
2024-12-14Rollup merge of #132939 - uellenberg:suggest-deref, r=oli-obkMatthias Krüger-0/+16
2024-12-14Add some convenience helper methods on `hir::Safety`Oli Scherer-1/+14
2024-12-14(Re-)Implement impl_trait_in_bindingsMichael Goulet-0/+2
2024-12-13Auto merge of #134269 - matthiaskrgr:rollup-fkshwux, r=matthiaskrgrbors-2/+19
2024-12-13Suggest using deref in patternsuellenberg-0/+16
2024-12-13Auto merge of #134122 - oli-obk:push-zqnyznxtpnll, r=petrochenkovbors-3/+1
2024-12-12Fix toolsMichael Goulet-1/+1
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-2/+11
2024-12-12Lower AST and resolve lifetimes for unsafe binder typesMichael Goulet-0/+8