Skip to content

Commit

Permalink
vec test: check number validity
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 22, 2022
1 parent 16c69fd commit 694846f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-pass/vec.rs
Original file line number Diff line number Diff line change
@@ -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>) {
Expand Down

0 comments on commit 694846f

Please sign in to comment.