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)]
28 #[rustc_clean(except="typeck,fn_sig", cfg="rpass2")]
29 pub fn use_X(x: X) -> u32 {
33 #[rustc_clean(except="typeck", cfg="rpass2")]
34 pub fn use_EmbedX(embed: EmbedX) -> u32 {
38 #[rustc_clean(cfg="rpass2")]
40 let x: Y = Y { y: 'c' };