1 // revisions: cfail1 cfail2
2 // compile-flags: -Z query-dep-graph
3 // build-pass (FIXME(62277): could be check-pass?)
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="hir_owner_nodes", cfg="cfail2")]
22 #[rustc_dirty(label="optimized_mir", cfg="cfail2")]
31 #[rustc_clean(label="typeck_tables_of", cfg="cfail2")]
32 #[rustc_clean(label="optimized_mir", cfg="cfail2")]
41 #[rustc_clean(label="typeck_tables_of", cfg="cfail2")]
42 #[rustc_clean(label="optimized_mir", cfg="cfail2")]