Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvdb 0.3 build error #11

Open
litecreator opened this issue Feb 25, 2021 · 0 comments
Open

kvdb 0.3 build error #11

litecreator opened this issue Feb 25, 2021 · 0 comments

Comments

@litecreator
Copy link
Member

error[E0277]: the trait bound `smallvec::SmallVec<[u8; 32]>: MallocSizeOf` is not satisfied
   --> tetsy-kvdb-rocksdb/src/lib.rs:261:10
    |
261 | #[derive(MallocSizeOf)]
    |          ^^^^^^^^^^^^ expected an implementor of trait `MallocSizeOf`
    |
    = note: required because of the requirements on the impl of `MallocSizeOf` for `HashMap<smallvec::SmallVec<[u8; 32]>, KeyState>`
    = note: 2 redundant requirements hidden
    = note: required because of the requirements on the impl of `MallocSizeOf` for `parking_lot::lock_api::RwLock<parking_lot::RawRwLock, Vec<HashMap<smallvec::SmallVec<[u8; 32]>, KeyState>>>`
    = note: required by `tetsy_util_mem::MallocSizeOf::size_of`
    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant