about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/hooks/mod.rs
AgeCommit message (Expand)AuthorLines
2025-09-26Make `def_path_hash_to_def_id` not panic when passed an invalid hashLi-yao Xia-1/+1
2025-07-23Remove useless lifetime parameter.Camille GILLOT-2/+2
2025-02-05Pretty print pattern type values with `transmute` if they don't satisfy their...Oli Scherer-0/+4
2025-02-03Remove hook calling via `TyCtxtAt`.Nicholas Nethercote-17/+3
2025-01-31Remove the `mir_build` hook.Nicholas Nethercote-6/+0
2025-01-31Remove the `thir_{tree,flat}` hooks.Nicholas Nethercote-6/+0
2025-01-31Add/clarify comments about hooks.Nicholas Nethercote-4/+7
2024-11-09Move some code from Compiler::enter to GlobalCtxt::finishbjorn3-0/+13
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+4
2024-07-15Introduce and provide a hook for `should_codegen_locally`Mohammad Omidvar-0/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-16Rollup merge of #124016 - DaniPopes:dedup-default-providers, r=lcnrGuillaume Gomez-7/+8
2024-04-16Outline default query and hook provider function implementationsDaniPopes-7/+8
2024-04-15Make thir_tree and thir_flat into hooksMichael Goulet-0/+6
2024-03-27Make `def_path_hash_to_def_id` a hookOli Scherer-0/+8
2024-03-27Move `CrateStore::expn_hash_to_expn_id` to a hookOli Scherer-1/+7
2024-03-27Start replacing `CStore` trait methods with hooks.Oli Scherer-3/+8
2024-03-20Rename mir_const query to mir_builtOli Scherer-1/+1
2024-03-20Replace `mir_built` query with a hook and use mir_const everywhere insteadOli Scherer-0/+6
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-0/+7
2023-11-01Rename hook.Camille GILLOT-1/+1
2023-10-31Turn const_caller_location from a query to a hookOli Scherer-0/+3
2023-09-30add some docs to hooks/mod.rsRalf Jung-0/+5
2023-09-22Add tracing instrumentation, just like queries automatically add itOli Scherer-0/+1
2023-09-22Add a way to decouple the implementation and the declaration of a TyCtxt method.Oli Scherer-0/+64