about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/pat_util.rs
AgeCommit message (Collapse)AuthorLines
2023-12-18Replace some instances of FxHashMap/FxHashSet with stable alternatives ↵Michael Woerister-4/+3
(mostly in rustc_hir and rustc_ast_lowering) Part of https://github.com/rust-lang/compiler-team/issues/533
2023-04-03Perform match checking on THIR.Camille GILLOT-11/+0
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+1
2022-11-23`random::<Improve<Mutability>>()`Maybe Waffle-4/+1
2022-09-08Introduce `DotDotPos`.Nicholas Nethercote-3/+3
This shrinks `hir::Pat` from 88 to 72 bytes.
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-9/+4
2022-07-20Remove unused StableMap and StableSet types from rustc_data_structuresMichael Woerister-1/+1
2021-11-21Simplify for loop desugarCameron Steffen-0/+11
2021-04-03Auto merge of #83599 - jyn514:unorderable, r=Aaron1011bors-2/+5
Avoid sorting by DefId for `necessary_variants()` Follow-up to https://github.com/rust-lang/rust/pull/83074. Originally I tried removing `impl Ord for DefId` but that hit *lots* of errors :sweat_smile: so I thought I would start with easy things. I am not sure whether this could actually cause invalid query results, but this is used from `MarkSymbolVisitor::visit_arm` so it's at least feasible. r? `@Aaron1011`
2021-03-28Avoid sorting by DefId for `necessary_variants()`Joshua Nelson-2/+5
2021-03-27Remove (lots of) dead codeJoshua Nelson-20/+0
Found with https://github.com/est31/warnalyzer. Dubious changes: - Is anyone else using rustc_apfloat? I feel weird completely deleting x87 support. - Maybe some of the dead code in rustc_data_structures, in case someone wants to use it in the future? - Don't change rustc_serialize I plan to scrap most of the json module in the near future (see https://github.com/rust-lang/compiler-team/issues/418) and fixing the tests needed more work than I expected. TODO: check if any of the comments on the deleted code should be kept.
2020-10-30Fix even more clippy warningsJoshua Nelson-4/+1
2020-10-14Remove unused code from rustc_hirest31-28/+0
2020-08-30mv compiler to compiler/mark-0/+194