about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2021-12-20 12:33:55 +0100
committerRalf Jung <post@ralfj.de>2021-12-20 12:33:55 +0100
commit59949900885930494df9c803b61bbe93e507e0cb (patch)
tree0b3bf197dae3906c485b33d53f2bdc1d294989cd
parent60f3bd78eeac87ad474916d36d29ed7e5084b25b (diff)
downloadrust-59949900885930494df9c803b61bbe93e507e0cb.tar.gz
rust-59949900885930494df9c803b61bbe93e507e0cb.zip
disable test with self-referential generator on Miri
-rw-r--r--library/core/tests/future.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/tests/future.rs b/library/core/tests/future.rs
index e8b83b5cbc2..0ed8c52c212 100644
--- a/library/core/tests/future.rs
+++ b/library/core/tests/future.rs
@@ -30,6 +30,7 @@ fn poll_n(val: usize, num: usize) -> PollN {
 }
 
 #[test]
+#[cfg_attr(miri, ignore)] // self-referential generators do not work with Miri's aliasing checks
 fn test_join() {
     block_on(async move {
         let x = join!(async { 0 }).await;