rust/src/libcore
bors 1dceaddfbe Auto merge of #54946 - estebank:iterator, r=varkor
Add filtering option to `rustc_on_unimplemented` and reword `Iterator` E0277 errors

 - Add more targetting filters for arrays to `rustc_on_unimplemented` (Fix #53766)
 - Detect one element array of `Range` type, which is potentially a typo:
   `for _ in [0..10] {}` where iterating between `0` and `10` was intended.
   (Fix #23141)
 - Suggest `.bytes()` and `.chars()` for `String`.
 - Suggest borrowing or `.iter()` on arrays (Fix #36391)
 - Suggest using range literal when iterating on integers (Fix #34353)
 - Do not suggest `.iter()` by default (Fix #50773, fix #46806)
 - Add regression test (Fix #22872)
2018-10-17 11:47:53 +00:00
..
benches bench: libcore: fix build failure of any.rs benchmark (use "dyn Any") 2018-08-29 12:18:05 +02:00
char Add examples for doc 2018-09-25 21:59:58 +10:00
fmt doc: make core::fmt::Error example more simple 2018-10-13 19:28:18 +02:00
future Remove spawning from task::Context 2018-09-19 15:01:19 -07:00
hash Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
iter Auto merge of #54946 - estebank:iterator, r=varkor 2018-10-17 11:47:53 +00:00
num Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
ops Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
prelude Drop identity from prelude. 2018-08-19 18:36:18 +02:00
slice Auto merge of #54534 - nagisa:align-offset-simplification, r=alexcrichton 2018-10-12 06:38:11 +00:00
str Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
sync std: Start implementing wasm32 atomics 2018-09-24 15:55:35 -07:00
task LocalWaker and Waker cleanups 2018-10-01 15:16:06 -07:00
tests Stabilize the Option::replace method 2018-10-08 10:06:45 +02:00
unicode Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichton 2018-08-01 17:44:25 +00:00
alloc.rs Remove explicit returns where unnecessary 2018-08-04 14:31:03 +02:00
any.rs Enforce #![deny(bare_trait_objects)] in src/libcore 2018-07-25 10:21:41 +09:00
array.rs Revert "Stabilize the TryFrom and TryInto traits" 2018-04-20 18:10:00 +02:00
ascii.rs migrate codebase to ..= inclusive range patterns 2018-06-26 07:53:30 -07:00
borrow.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
Cargo.toml Breaking change upgrades 2018-09-04 13:22:08 -06:00
cell.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
clone.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
cmp.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
convert.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
default.rs Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. 2017-07-18 01:49:40 +08:00
ffi.rs Move std::os::raw::c_void into libcore and re-export in libstd 2018-09-14 16:19:59 +01:00
hint.rs Stabilize core::hint::unreachable_unchecked. 2018-04-16 18:29:40 +08:00
internal_macros.rs Switch to 1.26 bootstrap compiler 2018-05-17 08:47:25 -06:00
intrinsics.rs clarify write_bytes a bit 2018-09-21 16:01:58 +02:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs Auto merge of #54017 - alexcrichton:wasm-atomics2, r=sfackler 2018-10-05 01:57:01 +00:00
macros.rs Spacing changes made to the example 2018-09-05 09:09:50 -04:00
marker.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
mem.rs Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
nonzero.rs Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
option.rs Bump the Option::replace stabilize version to 1.31.0 2018-10-08 10:18:43 +02:00
panic.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
panicking.rs Bootstrap from 1.28.0-beta.3 2018-06-30 13:17:49 -07:00
pin.rs Remove useless lifetimes from Pin impls. 2018-09-26 16:03:05 -05:00
ptr.rs remove unnecessary emphasis in doc comment 2018-10-14 20:26:23 +00:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Use impl_header_lifetime_elision in libcore 2018-09-29 21:33:35 -07:00
time.rs Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
tuple.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
unit.rs impl FromIterator<()> for () 2017-10-18 23:12:37 -07:00