rust/src/libcore
Huon Wilson 7bcf7fb500 Use more associated types in core::iter.
This concretely improves type inference of some cases (see included
test). I assume the compiler struggles to reason about multiple layers
of generic type parameters (even with associated-type equalities) but
*can* understand pure associated types, since they are always directly
computable from the input types.
2015-03-05 22:50:09 +11:00
..
fmt Rollup merge of #22876 - Florob:const, r=nikomatsakis 2015-03-03 17:02:20 +05:30
hash Add core::num::wrapping and fix overflow errors. 2015-03-03 12:10:19 +01:00
num Accommodate arith-overflow in core::num, std::num, coretest::num. 2015-03-03 12:10:57 +01:00
str Auto merge of #22532 - pnkfelix:arith-overflow, r=pnkfelix,eddyb 2015-03-03 14:18:03 +00:00
any.rs Rename Show to Debug, String to Display 2015-02-08 20:00:30 +03:00
array.rs Rollup merge of #22320 - petrochenkov:eq, r=alexcrichton 2015-02-23 11:43:59 -08:00
atomic.rs Enable recursion for visit_ty in lint visitor 2015-03-02 15:35:48 -08:00
cell.rs Add negative impls for Sync 2015-02-22 02:14:24 +01:00
char.rs Refactored code into Searcher traits with naive implementations 2015-02-20 00:57:38 +01:00
clone.rs core: Use int/isize in Clone boilerplate 2015-02-14 15:50:26 -08:00
cmp_macros.rs Tweaks to equality comparisons for slices/arrays/vectors 2015-02-20 20:32:55 +03:00
cmp.rs Audit core::cmp for int/uint. 2015-02-18 14:39:06 +01:00
default.rs Audit core::default for int/uint usage. 2015-02-18 14:41:13 +01:00
error.rs Rename std::path to std::old_path 2015-02-03 14:34:42 -08:00
finally.rs Audit integer types in finally. 2015-02-15 10:25:13 -05:00
intrinsics.rs rustc: implement arithmetic overflow checking 2015-03-03 12:09:07 +01:00
iter.rs Use more associated types in core::iter. 2015-03-05 22:50:09 +11:00
lib.rs Added OverflowingOps trait to core::num::wrapping. 2015-03-03 12:10:19 +01:00
macros.rs register snapshot 880fb89 2015-02-27 01:48:49 +01:00
marker.rs Change MarkerTrait to be invariant. This is a (small) loss of expressiveness, 2015-02-25 12:21:15 -05:00
mem.rs std: Stabilize some ptr functions 2015-02-24 14:22:33 -08:00
nonzero.rs Rewrite Unique<T> so that it is covariant in T, implies NonZero and ownership, 2015-02-18 10:25:12 -05:00
ops.rs Add documentation to associated types in libcore, libstd 2015-02-23 11:05:55 -08:00
option.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
panicking.rs register snapshot 880fb89 2015-02-27 01:48:49 +01:00
prelude.rs register snapshots 2015-02-02 13:38:32 -05:00
ptr.rs std: Stabilize some ptr functions 2015-02-24 14:22:33 -08:00
raw.rs Enable recursion for visit_ty in lint visitor 2015-03-02 15:35:48 -08:00
result.rs Rollup merge of #22817 - jmesmon:result-or-type, r=huonw 2015-02-27 22:07:03 +05:30
simd.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
slice.rs Rollup merge of #22988 - dcrewi:slice-swap-inline, r=alexcrichton 2015-03-03 17:02:24 +05:30
tuple.rs Set up docs for missing core types 2015-02-09 22:26:33 -05:00
ty.rs markers -> marker 2015-01-07 12:10:31 +13:00