1 // Test incremental compilation tracking where we change field names
2 // in between revisions (hashing should be stable).
4 // revisions:rpass1 rpass2
5 // compile-flags: -Z query-dep-graph
7 #![feature(rustc_attrs)]
24 #[rustc_clean(except="fn_sig,typeck", cfg="rpass2")]
25 pub fn use_X(x: X) -> u32 {
29 #[rustc_clean(except="typeck", cfg="rpass2")]
30 pub fn use_EmbedX(embed: EmbedX) -> u32 {
34 #[rustc_clean(cfg="rpass2")]
36 let x: Y = Y { y: 'c' };