From 32414310b7e0b93491ce6243e1ec0c92c6168557 Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Tue, 2 Aug 2016 16:53:58 -0400 Subject: Add the notion of a dependency tracking status to commandline arguments. Commandline arguments influence whether incremental compilation can use its compilation cache and thus their changes relative to previous compilation sessions need to be taking into account. This commit makes sure that one has to specify for every commandline argument whether it influences incremental compilation or not. --- src/libsyntax/feature_gate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 29da0fb1a27..d7a6c16ede0 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1171,7 +1171,7 @@ pub fn check_crate(krate: &ast::Crate, visit::walk_crate(&mut PostExpansionVisitor { context: &ctx }, krate); } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, PartialEq, Eq, Hash)] pub enum UnstableFeatures { /// Hard errors for unstable features are active, as on /// beta/stable channels. -- cgit 1.4.1-3-g733a5