about summary refs log tree commit diff
path: root/compiler/rustc_hir/src
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/+37
2025-02-06Rollup merge of #136393 - oli-obk:pattern-type-lit-oflo-checks, r=compiler-er...Matthias Krüger-2/+6
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-2/+6
2025-02-05Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obkLeón Orell Valerian Liehr-0/+6
2025-02-04Rollup merge of #136284 - oli-obk:push-zsxuwnzmonnl, r=lcnrMatthias Krüger-5/+34
2025-02-04Rollup merge of #136167 - pitaj:new_range, r=NadrierilJacob Pratt-1/+45
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+2
2025-02-03contracts: added lang items that act as hooks for rustc-injected code to invoke.Felix S. Klock II-0/+4
2025-02-03Use a different hir type for patterns in pattern types than we use in match p...Oli Scherer-5/+34
2025-01-31Insert null checks for pointer dereferences when debug assertions are enabledBastian Kersting-0/+1
2025-01-30implement unstable `new_range` featurePeter Jaszkowiak-1/+45
2025-01-29Eliminate PatKind::PathOli Scherer-9/+6
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/+10
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/+8
2025-01-23Explain visit_ty_unambig namingBoxy-0/+6
2025-01-23make `hir::Ty/ConstArg` methods generic where applicableBoxy-10/+20
2025-01-23inferkind docsBoxy-1/+2
2025-01-23point to docs for ambig const/ty on intravisitBoxy-0/+6
2025-01-23`visit_x_unambig`Boxy-39/+39
2025-01-23Bless and add testsBoxy-0/+86
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-110/+269
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-7/+8
2025-01-21Auto merge of #134299 - RalfJung:remove-start, r=compiler-errorsbors-0/+4
2025-01-21remove support for the #[start] attributeRalf Jung-0/+4
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
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-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-1/+1
2025-01-09Rollup merge of #128110 - veera-sivarajan:bugfix-80173, r=cjgillotMatthias Krüger-1/+13
2025-01-08update cfg(bootstrap)Pietro Albini-1/+1
2025-01-08Rename PatKind::Lit to ExprOli Scherer-5/+5
2025-01-08Exhaustively handle expressions in patternsOli Scherer-5/+42
2025-01-07Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obkMatthias Krüger-2/+9
2025-01-04Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obkbors-13/+21
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-13/+13
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-9/+11
2025-01-01Fix ICE when opaque captures a duplicated/invalid lifetimeMichael Goulet-9/+11
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-2/+9
2024-12-31Convert some Into impls into From implsMichael Goulet-15/+15
2024-12-21Suggest Semicolon in Incorrect Repeat ExpressionsVeera-1/+13