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