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:
parent
896cb36eca
commit
59e9cfa0cf
4 changed files with 37 additions and 2 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue