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

Remove warning in the latest nightly #1262

Merged
merged 1 commit into from
Oct 4, 2016
Merged

Remove warning in the latest nightly #1262

merged 1 commit into from
Oct 4, 2016

Conversation

mcarton
Copy link
Member

@mcarton mcarton commented Oct 4, 2016

We have a warning with the latest nightly:

warning: use of deprecated item: use `DefaultHasher` instead, #[warn(deprecated)] on by default
 --> clippy_lints/src/utils/hir.rs:4:31
  |
4 | use std::hash::{Hash, Hasher, SipHasher};
  |                               ^^^^^^^^^

warning: use of deprecated item: use `DefaultHasher` instead, #[warn(deprecated)] on by default
   --> clippy_lints/src/utils/hir.rs:275:8
    |
275 |     s: SipHasher,
    |        ^^^^^^^^^

warning: use of deprecated item: use `DefaultHasher` instead, #[warn(deprecated)] on by default
   --> clippy_lints/src/utils/hir.rs:282:16
    |
282 |             s: SipHasher::new(),
    |                ^^^^^^^^^^^^^^

See rust-lang/rust#36815.

It's probably not worth bumping the version for just that but it's kind of paradoxical to have warnings in a linter 😊

@Manishearth Manishearth merged commit 85e3779 into master Oct 4, 2016
@Manishearth Manishearth deleted the rustup branch October 4, 2016 15:34
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