1 // Test that the crate hash is not affected by reordering items.
3 // revisions:rpass1 rpass2 rpass3
4 // compile-flags: -Z query-dep-graph
6 #![feature(rustc_attrs)]
8 // Check that reordering otherwise identical items is not considered a
10 #[rustc_clean(cfg = "rpass2")]
11 // But removing an item, naturally, is.
12 #[rustc_clean(except="hir_crate", cfg = "rpass3")]