about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/hash_stable.rs
AgeCommit message (Collapse)AuthorLines
2025-04-23Remove `synstructure::Structure::underscore_const` calls.Nicholas Nethercote-2/+0
The `synstructure` docs say "This method is a no-op, underscore consts are used by default now." The behaviour change occurred going from `synstructure` version 0.13.0 to 0.13.1.
2024-02-17Make synstructure underscore_const(true) the defaultUrgau-0/+2
since otherwise it will trigger the non_local_definitions lint
2023-12-10remove redundant importssurechen-2/+2
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2023-11-21Unify HashStable implementationsMichael Goulet-64/+49
2023-11-21Add HashStable_NoContext to simplify HashStable implementations in rustc_type_irMichael Goulet-0/+44
2023-11-10Factor out some duplicated code.Nicholas Nethercote-42/+31
2023-11-10Minor cleanups.Nicholas Nethercote-2/+4
- Reduce some function exposure. - Fix some comment formatting.
2023-04-06migrate rustc_macros to syn 2.0Deadbeef-24/+21
2021-11-07more clippy fixesMatthias Krüger-5/+3
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, ↵Matthias Krüger-3/+5
r=petrochenkov" The PR had some unforseen perf regressions that are not as easy to find. Revert the PR for now. This reverts commit 6ae8912a3e7d2c4c775024f58a7ba4b1aedc4073, reversing changes made to 86d6d2b7389fe1b339402c1798edae8b695fc9ef.
2021-10-10Apply clippy suggestionsClemens Wasser-5/+3
2021-10-03Remove re-export.Camille GILLOT-2/+2
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-2/+2
2021-03-11Add inlining.Camille GILLOT-0/+2
2020-08-30mv compiler to compiler/mark-0/+131