Eduard-Mihai Burtescu
|
a1d014bdbc
|
Avoid using the copy_nonoverlapping wrapper through mem::replace.
|
2021-08-08 13:59:36 +03:00 |
|
Fabian Wolff
|
f8372f876c
|
Remove trailing whitespace from error messages
|
2021-08-04 10:48:30 +02:00 |
|
Ralf Jung
|
4e28065618
|
tweak pointer out-of-bounds error message
|
2021-07-15 22:47:11 +02:00 |
|
Ralf Jung
|
4759090d15
|
adjust tests
|
2021-07-14 18:17:49 +02:00 |
|
Ralf Jung
|
5f0dd6db94
|
remove const_raw_ptr_to_usize_cast feature
|
2021-07-10 12:08:58 +02:00 |
|
Albin Hedman
|
4aa1267cbb
|
Update and bless tests for const read out of bounds
|
2021-06-27 14:24:49 +02:00 |
|
Albin Hedman
|
4b64baff67
|
Bless out_of_bounds_read test
|
2021-06-27 12:05:20 +02:00 |
|
Albin Hedman
|
38e9538122
|
Revert "Remove tests that were also added in PR 79684."
This reverts commit e118a2cbf1.
|
2021-06-27 12:05:18 +02:00 |
|
Felix S. Klock II
|
e118a2cbf1
|
Remove tests that were also added in PR 79684.
|
2021-06-04 16:44:28 -04:00 |
|
bors
|
8e54a21139
|
Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-se
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-13 20:30:07 +00:00 |
|
Jeffrey Griffin
|
ff315e34e8
|
improve error message for disallowed ptr-to-int casts in const eval
|
2021-02-05 00:52:19 -08:00 |
|
Ralf Jung
|
8477d352ac
|
make const_err a future incompat lint
|
2021-02-03 15:45:43 +01:00 |
|
Ralf Jung
|
18d12ad171
|
directly expose copy and copy_nonoverlapping intrinsics
|
2021-01-21 10:41:22 +01:00 |
|
Albin Hedman
|
5e27765ddf
|
Add tests
|
2020-12-26 03:45:51 +01:00 |
|