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

(fix) Remove default type parameter #36

Merged
merged 2 commits into from
May 28, 2017
Merged

Conversation

alex-gulyas
Copy link
Contributor

Without this PR build fails on Rust 1.10:

src/lib.rs:185:18: 185:19 error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions.
src/lib.rs:185 impl<'a, K: Key, A: ?Sized + UnsafeAnyExt + 'a = UnsafeAny> Entry<'a, K, A> {
                                ^
src/lib.rs:185:18: 185:19 warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
src/lib.rs:185:18: 185:19 note: for more information, see PR 30742 <https://github.com/rust-lang/rust/pull/30724>
src/lib.rs:1:23: 1:31 note: lint level defined here
src/lib.rs:1 #![deny(missing_docs, warnings)]
                                   ^~~~~~~~

@reem reem merged commit 9452d89 into reem:master May 28, 2017
@reem reem mentioned this pull request May 28, 2017
@alex-gulyas alex-gulyas deleted the fix-compilation branch May 28, 2017 19:40
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

Successfully merging this pull request may close these issues.

2 participants