We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a26d99f commit 48921ceCopy full SHA for 48921ce
compiler/rustc_interface/src/tests.rs
@@ -96,6 +96,14 @@ fn assert_different_hash(x: &Options, y: &Options) {
96
assert_same_clone(y);
97
}
98
99
+fn assert_non_crate_hash_different(x: &Options, y: &Options) {
100
+ assert_eq!(x.dep_tracking_hash(true), y.dep_tracking_hash(true));
101
+ assert_ne!(x.dep_tracking_hash(false), y.dep_tracking_hash(false));
102
+ // Check clone
103
+ assert_same_clone(x);
104
+ assert_same_clone(y);
105
+}
106
+
107
// When the user supplies --test we should implicitly supply --cfg test
108
#[test]
109
fn test_switch_implies_cfg_test() {
0 commit comments