granite-rust/library/core/src
Matthias Krüger bb037e6fa7
Rollup merge of #110190 - cbeuw:mir-offset, r=oli-obk
Custom MIR: Support `BinOp::Offset`

Since offset doesn't have an infix operator, a new function `Offset` is added which is lowered to `Rvalue::BinaryOp(BinOp::Offset, ..)`

r? ```@oli-obk``` or ```@tmiasko``` or ```@JakobDegen```
2023-04-12 17:04:32 +02:00
..
alloc Auto merge of #105096 - LegionMammal978:copied-allocators, r=Amanieu 2023-03-26 01:21:12 +00:00
array replace advance_by returning usize with Result<(), NonZeroUsize> 2023-03-27 16:03:14 +02:00
async_iter use consistent terminology 2022-10-29 09:23:12 +02:00
cell fix typo and adjust comment 2023-03-30 14:49:43 +02:00
char Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcm 2023-02-12 11:09:06 +00:00
cmp Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
convert Inline try_from and try_into 2023-04-07 14:59:10 +02:00
ffi Add #[inline] to CStr trait implementations 2023-03-28 01:09:31 +01:00
fmt Auto merge of #108862 - Mark-Simulacrum:bootstrap-bump, r=pietroalbini 2023-03-17 19:00:38 +00:00
future Remove identity_future indirection 2023-03-08 15:37:14 +01:00
hash Rollup merge of #109287 - scottmcm:hash-slice-size-of-val, r=oli-obk 2023-03-18 12:04:24 +01:00
intrinsics Add Offset binary op to custom mir 2023-04-11 16:23:35 +02:00
iter Revert "Make the Step implementations const." 2023-04-08 08:18:29 +00:00
macros Reword the docstring in todo! macro definition 2023-04-11 16:29:48 +02:00
mem Avoid some manual slice length calculation 2023-04-07 01:32:12 -07:00
net Bump version placeholders 2023-03-15 08:55:22 -04:00
num Rollup merge of #110070 - scottmcm:wrapping-neg, r=cuviper 2023-04-11 12:18:51 +09:00
ops replace advance_by returning usize with Result<(), NonZeroUsize> 2023-03-27 16:03:14 +02:00
panic Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
prelude Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
ptr Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnr 2023-03-28 12:50:01 +00:00
slice Rollup merge of #106985 - jofas:106746-fix, r=ChrisDenton 2023-03-30 21:06:59 +09:00
str add comment to impl !Error for &str 2023-03-30 22:19:28 +02:00
sync Bump to latest beta 2023-03-15 08:55:22 -04:00
task Inline Poll methods 2023-02-13 14:17:45 +08:00
unicode Use hex literal for INDEX_MASK 2023-03-21 09:59:47 +01:00
any.rs Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00
arch.rs move core::arch into separate file 2022-11-20 10:28:14 +01: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 Minor grammar nit. 2022-12-12 16:22:01 -07:00
cell.rs Add links to <cell.rs> 2023-04-03 09:18:14 +03:00
clone.rs Make some trivial functions #[inline(always)] 2022-12-07 17:11:17 +01:00
cmp.rs Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
default.rs cfg-step code 2022-11-06 17:21:21 -05:00
error.md Small round of typo fixes 2022-11-04 20:06:18 -07:00
error.rs Bump to latest beta 2023-03-15 08:55:22 -04:00
hint.rs Correct typo (back_box -> black_box) 2023-03-25 19:57:46 -04:00
internal_macros.rs ignore a doctest for the non-exported macro 2022-05-03 18:33:56 +09:00
intrinsics.rs move Option::as_slice to intrinsic 2023-03-18 07:15:15 +01:00
lib.rs Revert "Make the Step implementations const." 2023-04-08 08:18:29 +00:00
marker.rs Enforce that PointerLike requires a pointer-like ABI 2023-04-08 21:11:16 +00:00
option.rs Stabilize is_some_and 2023-04-06 23:14:23 +02:00
panic.rs Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
panicking.rs Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obk 2023-03-31 08:50:35 +00:00
pin.rs Beautify pin! docs 2023-03-16 18:03:23 +01:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
primitive_docs.rs Document that &T and &mut T are Sync if T is 2023-04-07 18:36:48 +00:00
result.rs Stabilize is_some_and 2023-04-06 23:14:23 +02:00
time.rs Bump version placeholders to release 2022-11-06 17:11:02 -05:00
tuple.rs Use partial_cmp to implement tuple lt/le/ge/gt 2023-02-16 23:59:13 -08:00
unit.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00