]> git.lizzy.rs Git - rust.git/commitdiff
fix incremental test
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 10 Sep 2018 21:24:43 +0000 (17:24 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Mon, 10 Sep 2018 21:24:43 +0000 (17:24 -0400)
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

index 957cb336d9e69b57dc02c8ded15b4dcc7f85746d..097cd66537539ac2bb3a4a7387998253de9ad482 100644 (file)
@@ -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;