about summary refs log tree commit diff
path: root/src/test/ui/const-ptr
AgeCommit message (Collapse)AuthorLines
2021-02-13Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-sebors-29/+26
directly expose copy and copy_nonoverlapping intrinsics This effectively un-does https://github.com/rust-lang/rust/pull/57997. That should help with `ptr::read` codegen in debug builds (and any other of these low-level functions that bottoms out at `copy`/`copy_nonoverlapping`), where the wrapper function will not get inlined. See the discussion in https://github.com/rust-lang/rust/pull/80290 and https://github.com/rust-lang/rust/issues/81163. Cc `@bjorn3` `@therealprof`
2021-02-05improve error message for disallowed ptr-to-int casts in const evalJeffrey Griffin-0/+27
2021-02-03make const_err a future incompat lintRalf Jung-0/+8
2021-01-21directly expose copy and copy_nonoverlapping intrinsicsRalf Jung-26/+23
2020-12-26Add testsAlbin Hedman-0/+70