1 // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // revisions:rpass1 rpass2 rpass3
12 // compile-flags: -Z query-dep-graph -g -Zincremental-cc
13 // aux-build:extern_crate.rs
14 // ignore-test FIXME(#42293) this regressed in #44142 but should get fixed with red/green
17 // This test case makes sure that we detect if paths emitted into debuginfo
18 // are changed, even when the change happens in an external crate.
20 #![feature(rustc_attrs)]
22 #![rustc_partition_reused(module="main", cfg="rpass2")]
23 #![rustc_partition_reused(module="main-some_mod", cfg="rpass2")]
24 #![rustc_partition_reused(module="main", cfg="rpass3")]
25 #![rustc_partition_translated(module="main-some_mod", cfg="rpass3")]
27 extern crate extern_crate;
37 extern_crate::inline_fn();