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.
4 // revisions:rpass1 rpass2
6 // ignore-asmjs wasm2js does not support source maps yet
7 // compile-flags: -g -Z query-dep-graph
9 #![feature(rustc_attrs)]
15 #[rustc_dirty(label="hir_owner", cfg="rpass2")]
16 #[rustc_dirty(label="hir_owner_items", cfg="rpass2")]