rust/compiler/rustc_mir/src
bors 492b83c697 Auto merge of #80290 - RalfJung:less-intrinsic-write, r=lcnr
implement ptr::write without dedicated intrinsic

This makes `ptr::write` more consistent with `ptr::write_unaligned`, `ptr::read`, `ptr::read_unaligned`, all of which are implemented in terms of `copy_nonoverlapping`.

This means we can also remove `move_val_init` implementations in codegen and Miri, and its special handling in the borrow checker.

Also see [this Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/ptr.3A.3Aread.20vs.20ptr.3A.3Awrite).
2021-01-16 17:28:32 +00:00
..
borrow_check Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
const_eval Auto merge of #79322 - jyn514:refactor-impl, r=estebank 2021-01-13 01:40:41 +00:00
dataflow Switch compiler/ to intra-doc links 2020-12-18 15:22:51 -05:00
interpret Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
monomorphize Rollup merge of #80944 - LingMan:map_or, r=nagisa 2021-01-15 18:26:14 +09:00
transform Auto merge of #80290 - RalfJung:less-intrinsic-write, r=lcnr 2021-01-16 17:28:32 +00:00
util --emit=mir now emits both mir_for_ctfe and optimized_mir for const fn 2021-01-11 17:24:41 +00:00
lib.rs Dogfood 'str_split_once() with compiler/ 2020-12-07 12:48:44 -07:00
shim.rs Support building clone shims for arrays with generic size 2020-11-21 00:00:00 +00:00