Skip to content

Commit 0b77743

Browse files
committed
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.
1 parent 0421608 commit 0b77743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/incremental/hashes/trait_defs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,10 +559,10 @@ trait TraitAddBuiltinBoundToMethodTypeParameter {
559559
#[cfg(not(any(cfail1,cfail4)))]
560560
#[rustc_clean(cfg="cfail2")]
561561
#[rustc_clean(cfg="cfail3")]
562-
#[rustc_clean(cfg="cfail5")]
562+
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
563563
#[rustc_clean(cfg="cfail6")]
564564
trait TraitAddBuiltinBoundToMethodTypeParameter {
565-
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
565+
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
566566
#[rustc_clean(cfg="cfail3")]
567567
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
568568
#[rustc_clean(cfg="cfail6")]

0 commit comments

Comments
 (0)