Skip to content

Commit 694846f

Browse files
committed
vec test: check number validity
1 parent 16c69fd commit 694846f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Zmiri-tag-raw-pointers
1+
// compile-flags: -Zmiri-tag-raw-pointers -Zmiri-check-number-validity
22
// Gather all references from a mutable iterator and make sure Miri notices if
33
// using them is dangerous.
44
fn test_all_refs<'a, T: 'a>(dummy: &mut T, iter: impl Iterator<Item = &'a mut T>) {

0 commit comments

Comments
 (0)