1 // Check that the hash for a method call is sensitive to the traits in
4 // revisions: rpass1 rpass2
5 // compile-flags: -Z query-dep-graph
7 #![feature(rustc_attrs)]
15 impl Trait1 for () { }
21 impl Trait2 for () { }
29 #[rustc_clean(except="typeck", cfg="rpass2")]
34 #[rustc_clean(cfg="rpass2")]
36 22; // no method call, traits in scope don't matter