use UFCS in #[deriving(Hash)]

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

closes #21160
This commit is contained in:
Jorge Aparicio 2015-01-14 18:22:16 -05:00
parent 896cb36eca
commit 59e9cfa0cf
4 changed files with 37 additions and 2 deletions

View file

@ -21,6 +21,8 @@ use prelude::v1::*;
use collections::HashMap;
use ffi::CString;
use fmt;
// NOTE(stage0) remove import after a snapshot
#[cfg(stage0)]
use hash::Hash;
use io::pipe::{PipeStream, PipePair};
use io::{IoResult, IoError};