Use // error-pattern:
header in forbidden_slices.rs
test
This commit is contained in:
parent
10ee6f8e06
commit
0cca47ea1a
@ -1,3 +1,4 @@
|
||||
// error-pattern: could not evaluate static initializer
|
||||
#![feature(
|
||||
const_slice_from_raw_parts,
|
||||
slice_from_ptr_range,
|
||||
|
Loading…
x
Reference in New Issue
Block a user