]> git.lizzy.rs Git - rust.git/blobdiff - src/test/incremental/hashes/closure_expressions.rs
Rollup merge of #49876 - oli-obk:no_secret_clippy_on_stable_☹, r=nrc
[rust.git] / src / test / incremental / hashes / closure_expressions.rs
index d8a87da5918a9bae800b8c969bff1effdfb7f296..839e0ca8e01ae65e57eecc7173ab14a33ba8df2f 100644 (file)
@@ -16,7 +16,7 @@
 // and make sure that the hash has changed, then change nothing between rev2 and
 // rev3 and make sure that the hash has not changed.
 
-// must-compile-successfully
+// compile-pass
 // revisions: cfail1 cfail2 cfail3
 // compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
 
@@ -64,7 +64,7 @@ pub fn change_parameter_pattern() {
 }
 
 #[cfg(not(cfail1))]
-#[rustc_clean(cfg="cfail2", except="HirBody, MirValidated, MirOptimized, TypeckTables")]
+#[rustc_clean(cfg="cfail2", except="HirBody, MirValidated, TypeckTables")]
 #[rustc_clean(cfg="cfail3")]
 pub fn change_parameter_pattern() {
     let _ = |&x: &u32| x;