rust/src/libcore
kennytm 4924fea202
Rollup merge of #50511 - Manishearth:must-use, r=QuietMisdreavus
Add some explanations for #[must_use]

`#[must_use]` can be given a string argument which is shown whilst warning for things.

We should add a string argument to most of the user-exposed ones.

I added these for everything but the operators, mostly because I'm not sure what to write there or if we need anything there.
2018-05-09 20:29:46 +08:00
..
benches Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
char Rollup merge of #49970 - SimonSapin:deprecate, r=sfackler 2018-04-24 11:57:05 +08:00
fmt Add explanation for #[must_use] on Debug builders 2018-05-07 10:26:28 -07:00
hash Fix a few more unstables that I missed 2018-03-26 08:37:56 -05:00
iter Fix some broken links in docs. 2018-04-29 10:15:40 -07:00
num Add more logarithm constants 2018-05-08 13:40:17 -04:00
ops new() should be const; start()/end() after iteration is unspecified. 2018-05-01 01:45:18 +08:00
prelude Replace StrExt with inherent str methods in libcore 2018-04-21 09:47:37 +02:00
slice Move the tests in src/libcore/slice/memchr.rs as well. 2018-05-06 02:34:07 +08:00
str Auto merge of #49896 - SimonSapin:inherent, r=alexcrichton 2018-04-22 00:01:29 +00:00
sync Auto merge of #48553 - seanmonstar:atomic-debug, r=alexcrichton 2018-04-19 23:08:16 +00:00
tests Rollup merge of #50464 - est31:master, r=rkruppe 2018-05-09 20:29:44 +08:00
unicode Fix a warning in libcore on 16bit targets. 2018-05-01 17:48:31 +03:00
Cargo.toml Update Cargo submodule 2018-03-11 10:59:28 -07:00
alloc.rs Remove Alloc::oom 2018-04-22 10:08:49 -07:00
any.rs stage0 cfg cleanup 2018-02-20 08:52:33 -07:00
array.rs Revert "Stabilize the TryFrom and TryInto traits" 2018-04-20 18:10:00 +02:00
ascii.rs Correct a few stability attributes 2018-04-05 15:39:29 +01:00
borrow.rs Fix formatting. 2018-03-18 13:05:00 +01:00
cell.rs Assign the tracking issue 2018-04-23 20:34:49 +02:00
clone.rs Revert stabilization of `feature(never_type)`. 2018-04-20 18:09:28 +02:00
cmp.rs Add more doc aliases 2018-04-26 12:56:10 +02:00
convert.rs Revert "Stabilize the TryFrom and TryInto traits" 2018-04-20 18:10:00 +02:00
default.rs Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. 2017-07-18 01:49:40 +08:00
hint.rs Stabilize core::hint::unreachable_unchecked. 2018-04-16 18:29:40 +08:00
internal_macros.rs Make the unstable StrExt and SliceExt traits private to libcore in not(stage0) 2018-04-21 09:47:38 +02:00
intrinsics.rs Stabilize core::hint::unreachable_unchecked. 2018-04-16 18:29:40 +08:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs Added some simple documentation. 2018-05-06 03:29:19 +08:00
macros.rs update concat_idents doc stubs 2018-05-03 06:49:30 -04:00
marker.rs Unpin: Fix references to Pin type 2018-05-07 14:30:29 +02:00
mem.rs Rollup merge of #50148 - japaric:const-manuallydrop, r=oli-obk 2018-05-09 17:25:25 +08:00
nonzero.rs num::NonZero* types now have their own tracking issue: #49137 2018-03-18 16:58:38 +01:00
option.rs Remove uses of option_filter feature 2018-04-05 00:02:33 -06:00
panic.rs std: Avoid allocating panic message unless needed 2018-04-13 07:04:24 -07:00
panicking.rs Bump the bootstrap compiler to 1.26.0 beta 2018-04-05 07:13:45 -07:00
ptr.rs Rollup merge of #50233 - mark-i-m:const_vec, r=kennytm 2018-05-01 01:18:36 +08:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Add explanation for #[must_use] on Result 2018-05-07 10:26:28 -07:00
time.rs Move libcore/time tests from `time.rs` to `tests/time.rs` 2018-05-06 02:34:07 +08: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