We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c69fd commit 694846fCopy full SHA for 694846f
tests/run-pass/vec.rs
@@ -1,4 +1,4 @@
1
-// compile-flags: -Zmiri-tag-raw-pointers
+// compile-flags: -Zmiri-tag-raw-pointers -Zmiri-check-number-validity
2
// Gather all references from a mutable iterator and make sure Miri notices if
3
// using them is dangerous.
4
fn test_all_refs<'a, T: 'a>(dummy: &mut T, iter: impl Iterator<Item = &'a mut T>) {
0 commit comments