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`.
20 #[rustc_clean(except = "hir_owner_nodes,promoted_mir", cfg = "cfail2")]
29 #[rustc_clean(cfg = "cfail2")]
38 #[rustc_clean(cfg = "cfail2")]