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 #![rustc_partition_reused(module = "krate_inherent-x", cfg = "cfail2")]
8 #![crate_type = "rlib"]
18 x.foo(); // inherent methods used to add an edge from hir_crate
23 pub fn bar() {} // remove this unrelated fn in cfail2, which should not affect `x::method`