diff options
author | Esteban Küber <esteban@kuber.com.ar> | 2024-01-25 01:31:08 +0000 |
---|---|---|
committer | Esteban Küber <esteban@kuber.com.ar> | 2024-02-01 03:31:03 +0000 |
commit | 95d9009f49100a6cd111557bfc16e6bc997656cd (patch) | |
tree | 068fb3804985428876d87bf1fc1c43ee1e3c6937 | |
parent | c4c22b0d52e9699edd02fd3a7a61965f296ba605 (diff) |
Change incr comp test when adding explicit `Sized` bound
Given the previous change to add implicit `Sized` bounds only if there
isn't already an explicit `Sized` bound, now the incr comp machinery
doesn't consider adding the explicit bound as being dirty, as long as
`-Zincremental-ignore-spans` is set.
-rw-r--r-- | tests/incremental/hashes/trait_defs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/incremental/hashes/trait_defs.rs b/tests/incremental/hashes/trait_defs.rs index 49c388600de..437b364e001 100644 --- a/tests/incremental/hashes/trait_defs.rs +++ b/tests/incremental/hashes/trait_defs.rs @@ -559,10 +559,10 @@ trait TraitAddBuiltinBoundToMethodTypeParameter { #[cfg(not(any(cfail1,cfail4)))] #[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail3")] -#[rustc_clean(cfg="cfail5")] +#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] trait TraitAddBuiltinBoundToMethodTypeParameter { - #[rustc_clean(except="opt_hir_owner_nodes,predicates_of", cfg="cfail2")] + #[rustc_clean(except="opt_hir_owner_nodes", cfg="cfail2")] #[rustc_clean(cfg="cfail3")] #[rustc_clean(except="opt_hir_owner_nodes,predicates_of", cfg="cfail5")] #[rustc_clean(cfg="cfail6")] |