about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-05-11 22:05:54 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-06-20 11:52:51 +0200
commit6a371d2c8939c3a32ff0da69eb66b271ffa58288 (patch)
tree2179683d40b533739caf3ded086d3bf0e5c7d9c6 /compiler/rustc_ast/src
parent9543636cd6609cd2a9880da8f93aac96192ae40a (diff)
downloadrust-6a371d2c8939c3a32ff0da69eb66b271ffa58288.tar.gz
rust-6a371d2c8939c3a32ff0da69eb66b271ffa58288.zip
Make allocator_kind a query.
Diffstat (limited to 'compiler/rustc_ast/src')
-rw-r--r--compiler/rustc_ast/src/expand/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/expand/allocator.rs b/compiler/rustc_ast/src/expand/allocator.rs
index cd27f958e46..1976e4ad3c9 100644
--- a/compiler/rustc_ast/src/expand/allocator.rs
+++ b/compiler/rustc_ast/src/expand/allocator.rs
@@ -1,6 +1,6 @@
 use rustc_span::symbol::{sym, Symbol};
 
-#[derive(Clone, Copy)]
+#[derive(Clone, Debug, Copy, HashStable_Generic)]
 pub enum AllocatorKind {
     Global,
     Default,