Skip to content

Commit 0cca47e

Browse files
committed
Use // error-pattern: header in forbidden_slices.rs test
1 parent 10ee6f8 commit 0cca47e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
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)