vec test: check number validity
This commit is contained in:
parent
16c69fd290
commit
694846f8b4
@ -1,4 +1,4 @@
|
||||
// compile-flags: -Zmiri-tag-raw-pointers
|
||||
// compile-flags: -Zmiri-tag-raw-pointers -Zmiri-check-number-validity
|
||||
// Gather all references from a mutable iterator and make sure Miri notices if
|
||||
// using them is dangerous.
|
||||
fn test_all_refs<'a, T: 'a>(dummy: &mut T, iter: impl Iterator<Item = &'a mut T>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user