diff options
| author | Aria Beingessner <a.beingessner@gmail.com> | 2024-03-03 14:44:15 -0500 |
|---|---|---|
| committer | Aria Beingessner <a.beingessner@gmail.com> | 2024-03-29 19:59:46 -0400 |
| commit | ea92faec491084849f9c2fb258a0e3161bb29ae4 (patch) | |
| tree | 6733f6bddf223df0e8e865bc2da584338aa3eb8a /library/alloc/tests | |
| parent | faae5f1ffe7b7b97e91eee6184807ac7307aafaa (diff) | |
| download | rust-ea92faec491084849f9c2fb258a0e3161bb29ae4.tar.gz rust-ea92faec491084849f9c2fb258a0e3161bb29ae4.zip | |
stabilize ptr.is_aligned, move ptr.is_aligned_to to a new feature gate
This is an alternative to #121920
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs index 04709af5c0a..a34bce66496 100644 --- a/library/alloc/tests/lib.rs +++ b/library/alloc/tests/lib.rs @@ -37,7 +37,7 @@ #![feature(const_trait_impl)] #![feature(const_str_from_utf8)] #![feature(panic_update_hook)] -#![feature(pointer_is_aligned)] +#![feature(pointer_is_aligned_to)] #![feature(slice_flatten)] #![feature(thin_box)] #![feature(strict_provenance)] |
