We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// error-pattern:
forbidden_slices.rs
1 parent e1efb5e commit 5a6fd10Copy full SHA for 5a6fd10
src/test/ui/const-ptr/forbidden_slices.rs
@@ -1,3 +1,4 @@
1
+// error-pattern: could not evaluate static initializer
2
#![feature(
3
const_slice_from_raw_parts,
4
slice_from_ptr_range,
0 commit comments