Skip to content

Commit c9b36b4

Browse files
authored
clarify test purpose
1 parent 70b960b commit c9b36b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pass/stacked-borrows/zst-field-retagging-terminates.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@compile-flags: -Zmiri-retag-fields
2+
// Checks that the test does not run forever (which relies on a fast path).
23
fn main() {
34
let array = [(); usize::MAX];
45
drop(array); // Pass the array to a function, retagging its fields

0 commit comments

Comments
 (0)