reem / rust-typemap

A typesafe store keyed by types and containing different types of values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typemap is broken with latest releases of rust

ignatenkobrain opened this issue · comments

error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions.
   --> src/lib.rs:185:18
    |
185 | impl<'a, K: Key, A: ?Sized + UnsafeAnyExt + 'a = UnsafeAny> Entry<'a, K, A> {
    |                  ^
    |
    = note: #[deny(invalid_type_param_default)] on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #36887 <https://github.com/rust-lang/rust/issues/36887>

This has been fixed in #36 in commit f78f2b4.

Could you guys make a release, i.e. publish to crates.io?