Skip to content

Commit d8a3d7d

Browse files
committed
Change trait_defs.rs incremental hash test
`predicates_of` no longer changes when changing a trait's front matter because we no longer include the trait's span in the identity trait obligation.
1 parent 6b9d910 commit d8a3d7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/incremental/hashes/trait_defs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ trait TraitVisibility { }
3333
#[cfg(not(any(cfail1,cfail4)))]
3434
#[rustc_clean(except="hir_owner", cfg="cfail2")]
3535
#[rustc_clean(cfg="cfail3")]
36-
#[rustc_clean(except="hir_owner,predicates_of", cfg="cfail5")]
36+
#[rustc_clean(except="hir_owner", cfg="cfail5")]
3737
#[rustc_clean(cfg="cfail6")]
3838
pub trait TraitVisibility { }
3939

@@ -46,7 +46,7 @@ trait TraitUnsafety { }
4646
#[cfg(not(any(cfail1,cfail4)))]
4747
#[rustc_clean(except="hir_owner", cfg="cfail2")]
4848
#[rustc_clean(cfg="cfail3")]
49-
#[rustc_clean(except="hir_owner,predicates_of", cfg="cfail5")]
49+
#[rustc_clean(except="hir_owner", cfg="cfail5")]
5050
#[rustc_clean(cfg="cfail6")]
5151
unsafe trait TraitUnsafety { }
5252

@@ -60,7 +60,7 @@ trait TraitAddMethod {
6060
#[cfg(not(any(cfail1,cfail4)))]
6161
#[rustc_clean(except="hir_owner,associated_item_def_ids", cfg="cfail2")]
6262
#[rustc_clean(cfg="cfail3")]
63-
#[rustc_clean(except="hir_owner,associated_item_def_ids,predicates_of", cfg="cfail5")]
63+
#[rustc_clean(except="hir_owner,associated_item_def_ids", cfg="cfail5")]
6464
#[rustc_clean(cfg="cfail6")]
6565
pub trait TraitAddMethod {
6666
fn method();

0 commit comments

Comments
 (0)