rust/src/librustc/middle/trans
Jorge Aparicio 1384a43db3 DSTify Hash
- The signature of the `*_equiv` methods of `HashMap` and similar structures
have changed, and now require one less level of indirection. Change your code
from:

```
hashmap.find_equiv(&"Hello");
hashmap.find_equiv(&&[0u8, 1, 2]);
```

to:

```
hashmap.find_equiv("Hello");
hashmap.find_equiv(&[0u8, 1, 2]);
```

- The generic parameter `T` of the `Hasher::hash<T>` method have become
`Sized?`. Downstream code must add `Sized?` to that method in their
implementations. For example:

```
impl Hasher<FnvState> for FnvHasher {
    fn hash<T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
}
```

must be changed to:

```
impl Hasher<FnvState> for FnvHasher {
    fn hash<Sized? T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
    //      ^^^^^^
}
```

[breaking-change]
2014-10-31 07:25:34 -05:00
..
_match.rs collections: Enable IndexMut for some collections 2014-10-30 08:54:30 -07:00
adt.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
asm.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
base.rs DSTify Hash 2014-10-31 07:25:34 -05:00
basic_block.rs librustc: Implement lifetime elision. 2014-07-19 13:10:58 -07:00
build.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
builder.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
cabi.rs Replace all references to "Win32" with "Windows". 2014-08-12 00:10:26 -07:00
cabi_arm.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
cabi_mips.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
cabi_x86.rs librustc: Forbid external crates, imports, and/or items from being 2014-08-16 19:32:25 -07:00
cabi_x86_64.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
cabi_x86_win64.rs librustc: Forbid external crates, imports, and/or items from being 2014-08-16 19:32:25 -07:00
callee.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
cleanup.rs collections: Enable IndexMut for some collections 2014-10-30 08:54:30 -07:00
closure.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
common.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
consts.rs Part of #6993. Moved a bunch of uses of Ident to Name 2014-10-22 20:23:13 -05:00
context.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
controlflow.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04:00
datum.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
debuginfo.rs DSTify Hash 2014-10-31 07:25:34 -05:00
doc.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
expr.rs rollup merge of #18445 : alexcrichton/index-mut 2014-10-30 17:37:55 -07:00
foreign.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
glue.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
inline.rs rustc: Add const globals to the language 2014-10-09 09:44:50 -07:00
intrinsic.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
llrepr.rs make CrateContext fields private 2014-09-05 09:18:53 -07:00
machine.rs Use the correct LLVM integer sizes 2014-10-15 14:17:34 +03:00
macros.rs Convert most code to new inner attribute syntax. 2014-03-28 17:12:21 -07:00
meth.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
mod.rs librustc: Remove trans::reflect and the opaque and ty_visitor lang items. 2014-10-16 11:15:36 -04:00
monomorphize.rs librustc: Remove all uses of {:?}. 2014-10-16 11:15:34 -04:00
tvec.rs Fix ICE translating array repeat expr of non-Copy type 2014-10-29 21:45:35 -07:00
type_.rs DSTify Hash 2014-10-31 07:25:34 -05:00
type_of.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
value.rs rustc: fix fallout from the addition of a 'tcx lifetime on trans::Block. 2014-09-08 15:28:24 +03:00