diff options
Diffstat (limited to 'third_party/rust/hashbrown/tests/rayon.rs')
-rw-r--r-- | third_party/rust/hashbrown/tests/rayon.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/rust/hashbrown/tests/rayon.rs b/third_party/rust/hashbrown/tests/rayon.rs index 8c603c5c41..d55e5a9804 100644 --- a/third_party/rust/hashbrown/tests/rayon.rs +++ b/third_party/rust/hashbrown/tests/rayon.rs @@ -356,7 +356,9 @@ fn set_seq_par_equivalence_into_iter_empty() { let vec_seq = SET_EMPTY.clone().into_iter().collect::<Vec<_>>(); let vec_par = SET_EMPTY.clone().into_par_iter().collect::<Vec<_>>(); - assert_eq3!(vec_seq, vec_par, []); + // Work around type inference failure introduced by rend dev-dependency. + let empty: [char; 0] = []; + assert_eq3!(vec_seq, vec_par, empty); } #[test] |