1 // Check that the hash for `mod3::bar` changes when we change the
2 // `use` to something different.
4 // revisions: rpass1 rpass2 rpass3
5 // compile-flags: -Z query-dep-graph
7 #![feature(rustc_attrs)]
12 pub struct Foo(pub u32);
16 pub struct Foo(pub i64);
24 // In rpass2 we move the use declaration.
28 // In rpass3 we let the declaration point to something else.
32 #[rustc_clean(cfg="rpass2")]
33 #[rustc_clean(except="hir_owner_nodes,typeck", cfg="rpass3")]
38 #[rustc_clean(cfg="rpass2")]
39 #[rustc_clean(except="hir_owner_nodes,typeck", cfg="rpass3")]