about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2019-10-30 11:13:00 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2019-11-05 14:59:29 +0100
commit0dfe0ed8e1b2b8596a8cabee0afdae23e343ee69 (patch)
treea5694a1e9e0eacc626722ce5f4dea75fd7dfcc60 /src/libsyntax
parent7d7fbcb3015521412ab17a814680cd1d9bb6cde9 (diff)
downloadrust-0dfe0ed8e1b2b8596a8cabee0afdae23e343ee69.tar.gz
rust-0dfe0ed8e1b2b8596a8cabee0afdae23e343ee69.zip
Review feedback: Remove more stuff! Simplify simplify simplify!
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/expand/mod.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libsyntax/expand/mod.rs b/src/libsyntax/expand/mod.rs
index 35729508197..03b30fda745 100644
--- a/src/libsyntax/expand/mod.rs
+++ b/src/libsyntax/expand/mod.rs
@@ -5,14 +5,6 @@ use syntax_pos::symbol::sym;
 
 pub mod allocator;
 
-bitflags::bitflags! {
-    /// Built-in derives that need some extra tracking beyond the usual macro functionality.
-    #[derive(Default)]
-    pub struct SpecialDerives: u8 {
-        const COPY       = 1 << 2;
-    }
-}
-
 pub fn is_proc_macro_attr(attr: &Attribute) -> bool {
     [sym::proc_macro, sym::proc_macro_attribute, sym::proc_macro_derive]
         .iter().any(|kind| attr.check_name(*kind))