1 // revisions: cfail1 cfail2
2 // compile-flags: -Z query-dep-graph
6 #![feature(rustc_attrs)]
7 #![crate_type = "rlib"]
9 // Here the only thing which changes is the string constant in `x`.
10 // Therefore, the compiler deduces (correctly) that typeck is not
11 // needed even for callers of `x`.
21 #[rustc_dirty(label="HirBody", cfg="cfail2")]
22 #[rustc_dirty(label="MirOptimized", cfg="cfail2")]
31 #[rustc_clean(label="TypeckTables", cfg="cfail2")]
32 #[rustc_clean(label="MirOptimized", cfg="cfail2")]
41 #[rustc_clean(label="TypeckTables", cfg="cfail2")]
42 #[rustc_clean(label="MirOptimized", cfg="cfail2")]