rust/library/core/src
bors 5fb3394cbd Auto merge of #86664 - m-ou-se:uninit-track-caller, r=JohnTitor
Add #[track_caller] for some function in core::mem.

These functions can panic for some types. This makes the panic point to the code that calls e.g. mem::uninitialized(), instead of inside the definition of mem::uninitialized.
2021-07-29 09:35:23 +00:00
..
alloc docs: GlobalAlloc: Make example only require 4096-aligned static 2021-07-21 12:37:59 +01:00
array from review: add a comment why try_fold was chosen instead of fold 2021-07-27 00:14:19 +02:00
char Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
convert Added diagnostic items to structs and traits for Clippy 2021-07-15 23:57:02 +02:00
fmt Add new const_format_args!() macro and use it in panics. 2021-07-28 16:12:25 +02:00
future Rollup merge of #87565 - ibraheemdev:patch-7, r=scottmcm 2021-07-29 06:11:50 +09:00
hash Add tracking issue and rename to hash_one 2021-06-24 01:30:48 -07:00
iter Documentation improvements 2021-07-28 14:33:37 +02:00
macros Extend documentation of const_format_args!(). 2021-07-28 16:18:38 +02:00
mem Add #[track_caller] for some function in core::mem. 2021-07-28 14:34:36 +02:00
num Rollup merge of #87500 - Smittyvb:min-max-docs, r=kennytm 2021-07-28 18:28:18 +09:00
ops Update range.rs 2021-07-27 16:14:48 -04:00
prelude Move asm! and global_asm! to core::arch 2021-07-18 18:30:58 -04:00
ptr Add reference to tracking issue #86302 for const_ptr_write 2021-06-27 12:05:19 +02:00
slice Add TrustedRandomAccessNoCoerce supertrait without requirements or guarantees about subtype coercions 2021-07-28 14:33:35 +02:00
str Add TrustedRandomAccessNoCoerce supertrait without requirements or guarantees about subtype coercions 2021-07-28 14:33:35 +02:00
stream Remove Stream::next 2021-01-23 16:54:56 +01:00
sync Fix typo in core::sync::atomic::compiler_fence example 2021-07-06 10:53:14 -03:00
task Update stable version of ready!() macro. 2021-07-28 16:56:12 +02:00
unicode Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
any.rs Added diagnostic items to structs and traits for Clippy 2021-07-15 23:57:02 +02:00
ascii.rs Replace all fmt.pad with debug_struct 2021-04-21 14:38:24 +02:00
bool.rs Fix tracking issue for bool_to_option 2021-07-10 18:43:52 -04:00
borrow.rs Fix borrow and deref 2021-03-03 11:23:29 +01:00
cell.rs fix typo: whenver -> whenever 2021-07-26 22:12:35 +01:00
clone.rs Updates Clone docs for Copy comparison. 2021-06-10 11:28:26 -04:00
cmp.rs Added diagnostic items to functions for Clippy 2021-07-15 23:47:03 +02:00
default.rs Permit deriving default on enums with #[default] 2021-07-27 15:47:47 -04:00
ffi.rs Replace all fmt.pad with debug_struct 2021-04-21 14:38:24 +02:00
hint.rs Auto merge of #84725 - sebpop:arm64-isb, r=joshtriplett 2021-05-02 04:54:31 +00:00
internal_macros.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
intrinsics.rs Stabilize const_fn_transmute 2021-07-27 16:03:09 -04:00
lazy.rs Capitalize safety comments 2020-09-08 22:26:44 -04:00
lib.rs Auto merge of #86998 - m-ou-se:const-panic-fmt-as-str, r=oli-obk 2021-07-29 07:12:07 +00:00
marker.rs Rename variable 2021-06-29 20:26:37 -04:00
option.rs Auto merge of #87196 - oxalica:option-insert-must-use, r=joshtriplett 2021-07-19 07:03:36 +00:00
panic.rs Add new const_format_args!() macro and use it in panics. 2021-07-28 16:12:25 +02:00
panicking.rs Improve comments about const panic handling 2021-07-28 16:18:38 +02:00
pin.rs Link tracking issue for pin_deref_mut 2021-07-06 16:59:45 -07:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
result.rs Auto merge of #86211 - tlyu:option-result-overviews, r=joshtriplett 2021-07-14 05:10:57 +00:00
time.rs Added diagnostic items to structs and traits for Clippy 2021-07-15 23:57:02 +02:00
tuple.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
unit.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00