]> git.lizzy.rs Git - rust.git/blobdiff - src/test/incremental/crate_hash_reorder.rs
Merge pull request #2 from rust-lang/master
[rust.git] / src / test / incremental / crate_hash_reorder.rs
index 5aba2a670370ca01710572d41d8137019ef39deb..6e06e67b6682db41050e410695c07b8304f00f8d 100644 (file)
@@ -7,11 +7,9 @@
 
 // Check that reordering otherwise identical items is not considered a
 // change at all.
-#[rustc_clean(label="Krate", cfg="rpass2")]
-
+#[rustc_clean(label = "hir_crate", cfg = "rpass2")]
 // But removing an item, naturally, is.
-#[rustc_dirty(label="Krate", cfg="rpass3")]
-
+#[rustc_dirty(label = "hir_crate", cfg = "rpass3")]
 #[cfg(rpass1)]
 pub struct X {
     pub x: u32,
@@ -26,4 +24,4 @@ pub struct X {
     pub x: u32,
 }
 
-pub fn main() { }
+pub fn main() {}