rust/src/librustc/middle
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
..
borrowck rollup merge of #18445 : alexcrichton/index-mut 2014-10-30 17:37:55 -07:00
cfg Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
save Use common variants for open and close delimiters 2014-10-30 09:35:52 +11:00
traits Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
trans DSTify Hash 2014-10-31 07:25:34 -05:00
typeck rollup merge of #18445 : alexcrichton/index-mut 2014-10-30 17:37:55 -07:00
astencode.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
check_const.rs Prevent pointer -> int casts in constexprs 2014-10-25 20:18:32 +03:00
check_loop.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
check_match.rs Preserve struct field pattern shorthand in the prettyprinter. 2014-10-27 00:35:35 -07:00
check_rvalues.rs librustc: Remove all uses of {:?}. 2014-10-16 11:15:34 -04:00
check_static.rs Remove cat_discr 2014-10-27 19:06:50 +02:00
check_static_recursion.rs check_static_recursion: Handle foreign items 2014-10-29 23:24:04 -04:00
const_eval.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
dataflow.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
dead.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
def.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
dependency_format.rs collections: Enable IndexMut for some collections 2014-10-30 08:54:30 -07:00
effect.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
entry.rs rustc: fix fallout from using ptr::P. 2014-09-14 04:20:34 +03:00
expr_use_visitor.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
graph.rs rollup merge of #18445 : alexcrichton/index-mut 2014-10-30 17:37:55 -07:00
intrinsicck.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
lang_items.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
liveness.rs collections: Enable IndexMut for some collections 2014-10-30 08:54:30 -07:00
mem_categorization.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
pat_util.rs Never expand specialized columns that only contain wild patterns in them 2014-10-12 20:36:48 +02:00
privacy.rs Overhaul typechecking of patterns 2014-10-24 19:43:47 +02:00
reachable.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
region.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
resolve.rs rollup merge of #18445 : alexcrichton/index-mut 2014-10-30 17:37:55 -07:00
resolve_lifetime.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
stability.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
subst.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
ty.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
ty_fold.rs Remove ty_bot from the type system 2014-10-28 17:54:16 +01:00
weak_lang_items.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00