about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-08-29 07:46:03 -0400
committerGitHub <noreply@github.com>2022-08-29 07:46:03 -0400
commitc9b36b4dedab0c1b44f0357ddbf4ebc3a702e259 (patch)
tree20742373373b94e0c17a78a3aae15f1661275c04
parent70b960b879528b6ef5f8df4e0f8e2d8b72e1d221 (diff)
downloadrust-c9b36b4dedab0c1b44f0357ddbf4ebc3a702e259.tar.gz
rust-c9b36b4dedab0c1b44f0357ddbf4ebc3a702e259.zip
clarify test purpose
-rw-r--r--tests/pass/stacked-borrows/zst-field-retagging-terminates.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pass/stacked-borrows/zst-field-retagging-terminates.rs b/tests/pass/stacked-borrows/zst-field-retagging-terminates.rs
index 2099c5ad149..ce3c8b7d5f1 100644
--- a/tests/pass/stacked-borrows/zst-field-retagging-terminates.rs
+++ b/tests/pass/stacked-borrows/zst-field-retagging-terminates.rs
@@ -1,4 +1,5 @@
 //@compile-flags: -Zmiri-retag-fields
+// Checks that the test does not run forever (which relies on a fast path).
 fn main() {
     let array = [(); usize::MAX];
     drop(array); // Pass the array to a function, retagging its fields