Skip to content

Conversation

@japaric
Copy link
Contributor

@japaric japaric commented Jan 14, 2015

expansion now uses ::std::hash::Hash::hash(&*__self_0_0, __arg_0) instead of
(*__self_0_0).hash(__arg_0)

closes #21160

r? @alexcrichton

expansion now uses `::std::hash::Hash::hash(&*__self_0_0, __arg_0)` instead of
`(*__self_0_0).hash(__arg_0)`

closes rust-lang#21160
@japaric japaric changed the title use UFCS in #[deriving(Hash)] use UFCS in #[derive(Hash)] Jan 15, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 15, 2015
expansion now uses `::std::hash::Hash::hash(&*__self_0_0, __arg_0)` instead of
`(*__self_0_0).hash(__arg_0)`

closes rust-lang#21160

r? @alexcrichton
@bors bors merged commit 28b0d40 into rust-lang:master Jan 16, 2015
@japaric japaric deleted the ufcs-hash branch January 22, 2015 16:11
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.

Derived Hash impl is duck-typed

3 participants