diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-10-24 22:39:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-24 22:39:46 +0200 |
| commit | 4d72939af14b20a79232dbe4533875b15d264003 (patch) | |
| tree | 4e420291b9152272b0397b37411f0a52940118a2 /compiler/rustc_data_structures/src | |
| parent | e34263d86a41dc896d025dc767c8d7c77afe219b (diff) | |
| parent | 57ba8edb9eb7a805f63ab425fb5b1b7baa2e9fb3 (diff) | |
| download | rust-4d72939af14b20a79232dbe4533875b15d264003.tar.gz rust-4d72939af14b20a79232dbe4533875b15d264003.zip | |
Rollup merge of #77830 - cjgillot:remacro, r=oli-obk
Simplify query proc-macros The query code generation is split between proc-macros and regular macros in `rustc_middle::ty::query`. This PR removes unused capabilities of the proc-macros, and tend to use regular macros for the logic.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index 363879cbb1d..0ae3c75fcc2 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -111,17 +111,6 @@ cfg_if! { type Profiler = measureme::Profiler<SerializationSink>; -#[derive(Clone, Copy, Debug, PartialEq, Eq, Ord, PartialOrd)] -pub enum ProfileCategory { - Parsing, - Expansion, - TypeChecking, - BorrowChecking, - Codegen, - Linking, - Other, -} - bitflags::bitflags! { struct EventFilter: u32 { const GENERIC_ACTIVITIES = 1 << 0; |
