1 // Test that immediate callers have to change when callee changes, but
2 // not callers' callers.
5 // compile-flags: -Z query-dep-graph
7 #![feature(rustc_attrs)]
13 #[rustc_if_this_changed]
20 // These dependencies SHOULD exist:
21 #[rustc_then_this_would_need(typeck)] //~ ERROR OK
30 // These are expected to yield errors, because changes to `x`
31 // affect the BODY of `y`, but not its signature.
32 #[rustc_then_this_would_need(typeck)] //~ ERROR no path