]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/spans_significant_w_debuginfo.rs
Rollup merge of #62310 - GuillaumeGomez:add-missing-doc-links-boxed, r=Centril
[rust.git] / src / test / incremental / spans_significant_w_debuginfo.rs
1 // This test makes sure that just changing a definition's location in the
2 // source file also changes its incr. comp. hash, if debuginfo is enabled.
3
4 // revisions:rpass1 rpass2
5
6 // compile-flags: -g -Z query-dep-graph
7
8 #![feature(rustc_attrs)]
9
10 #[cfg(rpass1)]
11 pub fn main() {}
12
13 #[cfg(rpass2)]
14 #[rustc_dirty(label="Hir", cfg="rpass2")]
15 #[rustc_dirty(label="HirBody", cfg="rpass2")]
16 pub fn main() {}