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_clean(except="hir_owner,hir_owner_nodes,optimized_mir,promoted_mir", cfg="cfail2")]
30 #[rustc_clean(cfg="cfail2")]
39 #[rustc_clean(cfg="cfail2")]