Skip to content

Commit 5a6fd10

Browse files
committed
Use // error-pattern: header in forbidden_slices.rs test
1 parent e1efb5e commit 5a6fd10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/const-ptr/forbidden_slices.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// error-pattern: could not evaluate static initializer
12
#![feature(
23
const_slice_from_raw_parts,
34
slice_from_ptr_range,

0 commit comments

Comments
 (0)