diff options
| author | Will Crichton <wcrichto@cs.stanford.edu> | 2021-08-26 12:26:08 -0700 |
|---|---|---|
| committer | Will Crichton <wcrichto@cs.stanford.edu> | 2021-08-26 12:26:08 -0700 |
| commit | 7e148b0cef3eccf06414c47841a525c7cc096f28 (patch) | |
| tree | 0f9498093bde815c41d7eed5a9f710fbd9110cfe | |
| parent | acba31c33378c961b37c5ea66c23675c101cb2e8 (diff) | |
| download | rust-7e148b0cef3eccf06414c47841a525c7cc096f28.tar.gz rust-7e148b0cef3eccf06414c47841a525c7cc096f28.zip | |
Compile failure
| -rw-r--r-- | compiler/rustc_index/src/bit_set/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_index/src/bit_set/tests.rs b/compiler/rustc_index/src/bit_set/tests.rs index 7524c209aba..6fda7a03f88 100644 --- a/compiler/rustc_index/src/bit_set/tests.rs +++ b/compiler/rustc_index/src/bit_set/tests.rs @@ -104,7 +104,7 @@ fn hybrid_bitset() { assert!(dense10.superset(&dense10)); // dense + dense (self) assert!(dense256.superset(&dense10)); // dense + dense - let mut hybrid = sparse038; + let mut hybrid = sparse038.clone(); assert!(!sparse01358.union(&hybrid)); // no change assert!(hybrid.union(&sparse01358)); assert!(hybrid.superset(&sparse01358) && sparse01358.superset(&hybrid)); |
