about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/hir.rs
AgeCommit message (Expand)AuthorLines
2025-03-12Rollup merge of #138376 - nnethercote:hir-ItemKind-ident-precursors, r=compil...Matthias Krüger-10/+0
2025-03-12Remove unused `OwnerNode::ident` method.Nicholas Nethercote-10/+0
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-03-11Error on `define_opaques` entries without any opaques actually referencedOli Scherer-1/+1
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+7
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-1/+7
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-1/+7
2025-03-06Remove the `Option` part of range ends in the HIROli Scherer-1/+1
2025-03-06Prefer a two value enum over boolOli Scherer-1/+1
2025-03-01Rollup merge of #137686 - nbdd0121:asm_const, r=compiler-errorsMatthias Krüger-1/+1
2025-02-28Rollup merge of #137712 - meithecatte:extract-binding-mode, r=oli-obk许杰友 Jieyou Xu (Joe)-0/+6
2025-02-27Clean up TypeckResults::extract_binding_modeMaja Kądziołka-0/+6
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-2/+2
2025-02-26Handle asm const similar to inline constGary Guo-1/+1
2025-02-24lower attr spans and inline some functions to hopefully mitigate perf regress...Jana Dönszelmann-1/+29
2025-02-24Fix rustdoc and clippyJana Dönszelmann-0/+1
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-0/+4
2025-02-24Introduce new parsing infrastructure and types for parsed attributesJana Dönszelmann-56/+107
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-4/+21
2025-02-22Make asm a named fieldMichael Goulet-3/+3
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