about summary refs log tree commit diff
path: root/tests/ui/async-await/send-bound-async-closure.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-14 11:50:17 -0400
committerMichael Goulet <michael@errs.io>2024-03-19 11:30:12 -0400
commit67f1c53c05dcf090963be1039e3fc1f4e6ba4397 (patch)
tree648817932896b6caf0f8d90c4f413192ca198c4c /tests/ui/async-await/send-bound-async-closure.rs
parentf296c162d8c6f84bcfee99c152d4fd63aaef3e38 (diff)
downloadrust-67f1c53c05dcf090963be1039e3fc1f4e6ba4397.tar.gz
rust-67f1c53c05dcf090963be1039e3fc1f4e6ba4397.zip
Don't ICE when encountering bound regions in generator interior type
Diffstat (limited to 'tests/ui/async-await/send-bound-async-closure.rs')
-rw-r--r--tests/ui/async-await/send-bound-async-closure.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/async-await/send-bound-async-closure.rs b/tests/ui/async-await/send-bound-async-closure.rs
index 2732fa5d466..e4a9ae4cc75 100644
--- a/tests/ui/async-await/send-bound-async-closure.rs
+++ b/tests/ui/async-await/send-bound-async-closure.rs
@@ -1,5 +1,8 @@
 //@ edition: 2021
 //@ check-pass
+//@ revisions: current next
+//@ ignore-compare-mode-next-solver (explicit revisions)
+//@[next] compile-flags: -Znext-solver
 
 // This test verifies that we do not create a query cycle when typechecking has several inference
 // variables that point to the same coroutine interior type.