rust/library/core/src
Yuki Okushi 9436ffc226
Rollup merge of #102288 - mejrs:inner, r=compiler-errors
Suggest unwrapping `???<T>` if a method cannot be found on it but is present on `T`.

This suggests various ways to get inside wrapper types if the method cannot be found on the wrapper type, but is present on the wrappee.

For this PR, those wrapper types include `Localkey`, `MaybeUninit`, `RefCell`, `RwLock` and `Mutex`.
2022-09-28 13:07:17 +09:00
..
alloc remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
array remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
async_iter Add Stream alias for AsyncIterator 2022-03-15 20:59:13 -07:00
cell Move/rename lazy::{OnceCell, Lazy} to cell::{OnceCell, LazyCell} 2022-06-16 19:53:59 +04:00
char remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
convert remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
ffi Rollup merge of #100291 - WaffleLapkin:cstr_const_methods, r=oli-obk 2022-09-12 22:47:14 +02:00
fmt Document that Display entails ToString 2022-09-26 13:03:59 -04:00
future Stabilize future_poll_fn 2022-07-16 10:04:14 +09:00
hash Adjust cfgs 2022-08-12 16:28:15 -04:00
iter Rollup merge of #102263 - GuillaumeGomez:iterator-rposition-example, r=thomcc 2022-09-26 09:27:37 +08:00
macros Fix typo in concat_bytes documentation 2022-09-12 21:40:28 -04:00
mem remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
num Rollup merge of #101555 - jhpratt:stabilize-mixed_integer_ops, r=joshtriplett 2022-09-27 21:42:21 +02:00
ops remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
panic Update integer_atomics tracking issue 2022-07-08 17:52:04 -04:00
prelude Create 2024 edition 2022-04-02 02:45:49 -04:00
ptr remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
slice rustdoc: Update doc comment for splitn_mut to include mutable in the description 2022-09-26 20:20:13 +02:00
str remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
sync Add #[inline] to trivial functions on core::sync::Exclusive 2022-09-22 22:15:27 -07:00
task Added tracking issue 2022-09-19 15:07:12 +02:00
unicode Bump Unicode to version 15.0.0, regenerate tables 2022-09-14 13:21:19 -07:00
any.rs Add Provider::{would_be_satisfied_by_value_of,would_be_satisfied_by_ref_of} 2022-08-23 10:48:59 -04:00
ascii.rs Inline <EscapeDefault as Iterator>::next 2022-03-10 15:35:22 +01:00
asserting.rs [RFC 2011] Library code 2022-05-22 07:18:32 -03:00
bool.rs Add missing assertion 2022-09-22 02:12:06 -04:00
borrow.rs Add const_traits 2022-09-16 11:48:42 +08:00
cell.rs Address feedback 2022-09-27 21:42:09 +02:00
clone.rs update cfg(bootstrap)s 2022-07-01 15:48:23 +02:00
cmp.rs Constify cmp_min_max_by 2022-09-24 22:12:00 +02:00
const_closure.rs Remove unused ConstFn(Once)Closure structs. 2022-09-23 19:55:51 +02:00
default.rs Prevent errors for stage0 rustc build 2022-09-16 11:48:42 +08:00
error.md Move error trait into core 2022-08-22 13:28:25 -07:00
error.rs error::Error: remove some comments 2022-08-25 07:42:07 +01:00
hint.rs Stabilize bench_black_box 2022-09-27 17:38:51 +02:00
internal_macros.rs ignore a doctest for the non-exported macro 2022-05-03 18:33:56 +09:00
intrinsics.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
lazy.rs Move/rename lazy::{OnceCell, Lazy} to cell::{OnceCell, LazyCell} 2022-06-16 19:53:59 +04:00
lib.rs Rollup merge of #101555 - jhpratt:stabilize-mixed_integer_ops, r=joshtriplett 2022-09-27 21:42:21 +02:00
marker.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
option.rs Improve code example for Option::unwrap_or_default 2022-09-26 12:37:41 +02:00
panic.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
panicking.rs Reduce code size of assert_matches_failed 2022-08-24 00:56:04 +02:00
pin.rs Fix the generator example for pin!() 2022-05-05 09:58:13 +10:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
primitive_docs.rs array docs - advertise how to get array from slice 2022-09-10 19:37:07 -07:00
result.rs Constify Residual behind const_try 2022-09-23 20:17:31 +02:00
time.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
tuple.rs Added const Default impls for Arrays and Tuples. 2022-09-23 17:53:59 +02:00
unit.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00