]>
git.proxmox.com Git - rustc.git/blob - src/test/incremental/krate-inlined.rs
1 // Regr. test that using HIR inlined from another krate does *not* add
2 // a dependency from the local hir_crate node. We can't easily test that
3 // directly anymore, so now we test that we get reuse.
5 // revisions: rpass1 rpass2
6 // compile-flags: -Z query-dep-graph
9 #![feature(rustc_attrs)]
10 #![rustc_partition_reused(module = "krate_inlined-x", cfg = "rpass2")]
21 // use some methods that require inlining HIR from another crate: