diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-05-27 19:09:46 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-05-30 15:44:56 +0400 |
| commit | 10ee6f8e0655c72ff56f9c6781c15fbada09e45e (patch) | |
| tree | 9049084b11bfb3038c264020a177f8d66572e7f7 /src/test/ui/const-ptr | |
| parent | a63a83a8b6cb2ad5435a798392fe16beb49b65be (diff) | |
| download | rust-10ee6f8e0655c72ff56f9c6781c15fbada09e45e.tar.gz rust-10ee6f8e0655c72ff56f9c6781c15fbada09e45e.zip | |
Rename slice_from_ptr_range_const -> const_slice_from_ptr_range
This is in line with other `const fn` features.
Diffstat (limited to 'src/test/ui/const-ptr')
| -rw-r--r-- | src/test/ui/const-ptr/allowed_slices.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/const-ptr/forbidden_slices.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/const-ptr/allowed_slices.rs b/src/test/ui/const-ptr/allowed_slices.rs index 12089c0a8e8..645283d8fe5 100644 --- a/src/test/ui/const-ptr/allowed_slices.rs +++ b/src/test/ui/const-ptr/allowed_slices.rs @@ -2,7 +2,7 @@ #![feature( const_slice_from_raw_parts, slice_from_ptr_range, - slice_from_ptr_range_const, + const_slice_from_ptr_range, pointer_byte_offsets, const_pointer_byte_offsets )] diff --git a/src/test/ui/const-ptr/forbidden_slices.rs b/src/test/ui/const-ptr/forbidden_slices.rs index e68b8da4821..7718d830e6a 100644 --- a/src/test/ui/const-ptr/forbidden_slices.rs +++ b/src/test/ui/const-ptr/forbidden_slices.rs @@ -1,7 +1,7 @@ #![feature( const_slice_from_raw_parts, slice_from_ptr_range, - slice_from_ptr_range_const, + const_slice_from_ptr_range, pointer_byte_offsets, const_pointer_byte_offsets )] |
