diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-11 10:20:25 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-17 17:58:10 +0000 |
| commit | 68b415a0c4cfa054f275424db770d08227c09099 (patch) | |
| tree | ac06c3d75ede16805d44382d5987a968141b68c5 /tests/ui/consts/const-compare-bytes-ub.rs | |
| parent | 250648e871c1e685f09427bd31fd399090f15640 (diff) | |
| download | rust-68b415a0c4cfa054f275424db770d08227c09099.tar.gz rust-68b415a0c4cfa054f275424db770d08227c09099.zip | |
Make slices `[const] PartialEq`
Diffstat (limited to 'tests/ui/consts/const-compare-bytes-ub.rs')
| -rw-r--r-- | tests/ui/consts/const-compare-bytes-ub.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-compare-bytes-ub.rs b/tests/ui/consts/const-compare-bytes-ub.rs index 0bc8585a4ee..7e3df92a2bf 100644 --- a/tests/ui/consts/const-compare-bytes-ub.rs +++ b/tests/ui/consts/const-compare-bytes-ub.rs @@ -1,6 +1,6 @@ //@ check-fail -#![feature(core_intrinsics)] +#![feature(core_intrinsics, const_cmp)] use std::intrinsics::compare_bytes; use std::mem::MaybeUninit; |
