rust-lang / hashbrown

Rust port of Google's SwissTable hash map
https://rust-lang.github.io/hashbrown
Apache License 2.0
2.38k stars 275 forks source link

feat: borsh serde #525

Closed dzmitry-lahoda closed 3 months ago

dzmitry-lahoda commented 3 months ago

not clear how next relates to my PR

Compiling rkyv_derive v0.7.44
error: bound is defined in more than one place
    --> src/map.rs:1267:30
     |
[126](https://github.com/rust-lang/hashbrown/actions/runs/9102104127/job/25020927498?pr=525#step:3:127)7 |     pub fn entry_ref<'a, 'b, Q: ?Sized>(&'a mut self, key: &'b Q) -> EntryRef<'a, 'b, K, Q, V, S, A>
     |                              ^
1268 |     where
1269 |         Q: Hash + Equivalent<K>,
     |         ^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
     = note: `-D clippy::multiple-bound-locations` implied by `-D clippy::all`
     = help: to override `-D clippy::all` add `#[allow(clippy::multiple_bound_locations)]`

error: bound is defined in more than one place
    --> src/map.rs:[130](https://github.com/rust-lang/hashbrown/actions/runs/9102104127/job/25020927498?pr=525#step:3:131)8:16
     |
1308 |     pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&V>
     |                ^
1309 |     where
[131](https://github.com/rust-lang/hashbrown/actions/runs/9102104127/job/25020927498?pr=525#step:3:132)0 |         Q: Hash + Equivalent<K>,
dzmitry-lahoda commented 3 months ago

neither my code nor reference is on be default

https://github.com/rust-lang/hashbrown/blob/835936584e33480f6afbf1ae9be7151c1b27d595/ci/tools.sh#L33

magic

Amanieu commented 3 months ago

The CI failure should be fixed now, can you rebase your branch?

Amanieu commented 3 months ago

@bors r+

bors commented 3 months ago

:pushpin: Commit 734191c9182d5787330839ee7aa3d3de7c295119 has been approved by Amanieu

It is now in the queue for this repository.

bors commented 3 months ago

:hourglass: Testing commit 734191c9182d5787330839ee7aa3d3de7c295119 with merge 2310a958c3280628cefd5bf6eccf08d36cc09df4...

bors commented 3 months ago

:sunny: Test successful - checks-actions Approved by: Amanieu Pushing 2310a958c3280628cefd5bf6eccf08d36cc09df4 to master...