about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/raw-bytes.rs
diff options
context:
space:
mode:
authorMarkus Reiter <me@reitermark.us>2024-04-21 18:41:45 +0200
committerMarkus Reiter <me@reitermark.us>2024-04-22 18:48:47 +0200
commit33e68aadc975c60bf975789f70156e67082e8910 (patch)
tree4e510b113ef352e4dc0c984944dcedd3b52e10e3 /tests/ui/consts/const-eval/raw-bytes.rs
parentf22a0c2d9f9cd83dfe84b65e9fa1b3fa8303c7b5 (diff)
downloadrust-33e68aadc975c60bf975789f70156e67082e8910.tar.gz
rust-33e68aadc975c60bf975789f70156e67082e8910.zip
Stabilize generic `NonZero`.
Diffstat (limited to 'tests/ui/consts/const-eval/raw-bytes.rs')
-rw-r--r--tests/ui/consts/const-eval/raw-bytes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/raw-bytes.rs b/tests/ui/consts/const-eval/raw-bytes.rs
index e5dfd5ca293..2fbf135c997 100644
--- a/tests/ui/consts/const-eval/raw-bytes.rs
+++ b/tests/ui/consts/const-eval/raw-bytes.rs
@@ -3,7 +3,7 @@
 // ignore-tidy-linelength
 //@ normalize-stderr-test "╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼" -> "╾ALLOC_ID$1╼"
 #![allow(invalid_value)]
-#![feature(generic_nonzero, never_type, rustc_attrs, ptr_metadata, slice_from_ptr_range, const_slice_from_ptr_range)]
+#![feature(never_type, rustc_attrs, ptr_metadata, slice_from_ptr_range, const_slice_from_ptr_range)]
 
 use std::mem;
 use std::alloc::Layout;