about summary refs log tree commit diff
path: root/tests/ui/async-await/issues/issue-67893.rs
diff options
context:
space:
mode:
authorConnor Tsui <connor.tsui20@gmail.com>2025-07-23 13:47:49 +0200
committerConnor Tsui <connor.tsui20@gmail.com>2025-07-29 10:32:15 +0200
commit3bdc228c103d72a61d9639d6fd0dd5c1566ec37f (patch)
tree21d93bfc2ba58f39f64c1072c9ce198feec667fc /tests/ui/async-await/issues/issue-67893.rs
parentec4dc1c5f87e3de735cefb21ac51522568b1b391 (diff)
downloadrust-3bdc228c103d72a61d9639d6fd0dd5c1566ec37f.tar.gz
rust-3bdc228c103d72a61d9639d6fd0dd5c1566ec37f.zip
add `nonpoison::mutex` implementation
Adds the equivalent `nonpoison` types to the `poison::mutex` module.
These types and implementations are gated under the `nonpoison_mutex`
feature gate.

Also blesses the ui tests that now have a name conflicts (because these
types no longer have unique names). The full path distinguishes the
different types.

Co-authored-by: Aandreba <aandreba@gmail.com>
Co-authored-by: Trevor Gross <tmgross@umich.edu>
Diffstat (limited to 'tests/ui/async-await/issues/issue-67893.rs')
-rw-r--r--tests/ui/async-await/issues/issue-67893.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/issues/issue-67893.rs b/tests/ui/async-await/issues/issue-67893.rs
index 73cce38c94a..2020abe7a5a 100644
--- a/tests/ui/async-await/issues/issue-67893.rs
+++ b/tests/ui/async-await/issues/issue-67893.rs
@@ -7,5 +7,5 @@ fn g(_: impl Send) {}
 
 fn main() {
     g(issue_67893::run())
-    //~^ ERROR `MutexGuard<'_, ()>` cannot be sent between threads safely
+    //~^ ERROR `std::sync::MutexGuard<'_, ()>` cannot be sent between threads safely
 }