From f95f23f0c3f56d40a57b6e5b538aa98fd4f18b0f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 10 Sep 2018 17:24:43 -0400 Subject: fix incremental test We are now carrying the user-given type through MIR, so it makes sense that this would change the hash. --- src/test/incremental/hashes/let_expressions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/incremental') 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; -- cgit 1.4.1-3-g733a5