fizyk20/generic-array

equality fails when array is part of structure

Closed this issue · 1 comments

I am seeing this failure with insertion into a HashMap of a GenericArray key when its part of a larger structure.

solana-labs/solana@43eaf84#diff-7665adc942e63b90927e054380a1318eR1235

I am happy to try to make a standalone test if that helps. I am on OSX,
generic-array = { version = "0.11.1", default-features = false, features = ["serde"] }
rustc 1.27.0 (3eda71b00 2018-06-19)

I am pretty sure I've seen symptoms of this in earlier versions of rust as well.

oops, user error :)