1 // Check that the hash for `mod3::bar` changes when we change the
2 // `use` to something different.
4 // revisions: rpass1 rpass2 rpass3
6 #![feature(rustc_attrs)]
11 pub struct Foo(pub u32);
15 pub struct Foo(pub i64);
23 // In rpass2 we move the use declaration.
27 // In rpass3 we let the declaration point to something else.
31 #[rustc_clean(label="hir_owner", cfg="rpass2")]
32 #[rustc_clean(label="hir_owner_nodes", cfg="rpass2")]
33 #[rustc_clean(label="hir_owner", cfg="rpass3")]
34 #[rustc_dirty(label="hir_owner_nodes", cfg="rpass3")]
39 #[rustc_clean(label="hir_owner", cfg="rpass2")]
40 #[rustc_clean(label="hir_owner_nodes", cfg="rpass2")]
41 #[rustc_clean(label="hir_owner", cfg="rpass3")]
42 #[rustc_dirty(label="hir_owner_nodes", cfg="rpass3")]