Skip to content

"there is no way to use this feature" for std::collections::hash_state::DefaultState #21883

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

Closed
SimonSapin opened this issue Feb 3, 2015 · 1 comment · Fixed by #21745
Closed

Comments

@SimonSapin
Copy link
Contributor

Upgrading Servo is blocked on this. Is there a work around?

/home/simon/projects/servo/components/util/cache.rs:29:45: 29:57 error: use of unmarked library feature
/home/simon/projects/servo/components/util/cache.rs:29           entries: HashMap::with_hash_state(DefaultState),
                                                                                                   ^~~~~~~~~~~~
/home/simon/projects/servo/components/util/cache.rs:29:45: 29:57 note: this is either a bug in the library you are using or a bug in the compiler - there is no way to use this feature
/home/simon/projects/servo/components/util/cache.rs:29           entries: HashMap::with_hash_state(DefaultState),
                                                                                                   ^~~~~~~~~~~~
@Ms2ger
Copy link
Contributor

Ms2ger commented Feb 3, 2015

Can we use Default::default() instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants