about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-09-10 17:24:43 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-09-10 17:24:43 -0400
commitf95f23f0c3f56d40a57b6e5b538aa98fd4f18b0f (patch)
treeea6b4b3d22254f8184624f8f8b2eeb773ff73746
parentdf37678b768a6329e6aa418e59bfe07d32580ca5 (diff)
downloadrust-f95f23f0c3f56d40a57b6e5b538aa98fd4f18b0f.tar.gz
rust-f95f23f0c3f56d40a57b6e5b538aa98fd4f18b0f.zip
fix incremental test
We are now carrying the user-given type through MIR, so it makes sense
that this would change the hash.
-rw-r--r--src/test/incremental/hashes/let_expressions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/incremental/hashes/let_expressions.rs b/src/test/incremental/hashes/let_expressions.rs
index 957cb336d9e..097cd665375 100644
--- a/src/test/incremental/hashes/let_expressions.rs
+++ b/src/test/incremental/hashes/let_expressions.rs
@@ -49,7 +49,7 @@ pub fn add_type() {
 
 #[cfg(not(cfail1))]
 #[rustc_clean(cfg="cfail2",
-    except="HirBody,TypeckTables,MirValidated")]
+    except="HirBody,TypeckTables,MirValidated,MirOptimized")]
 #[rustc_clean(cfg="cfail3")]
 pub fn add_type() {
     let _x: u32 = 2u32;