diff options
| author | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2024-12-23 19:36:41 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-01-02 15:21:41 +0300 |
| commit | ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d (patch) | |
| tree | 363fdace20c9ca422a1571a205e7b9bd4803c5af /tests/ui/traits | |
| parent | 41b579660c0af700d42abe5b71856098db007783 (diff) | |
| download | rust-ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d.tar.gz rust-ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d.zip | |
Move some things to `std::sync::poison` and reexport them in `std::sync`
Diffstat (limited to 'tests/ui/traits')
| -rw-r--r-- | tests/ui/traits/const-traits/span-bug-issue-121418.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/const-traits/span-bug-issue-121418.stderr b/tests/ui/traits/const-traits/span-bug-issue-121418.stderr index fe1e5e558b2..f41c19b4573 100644 --- a/tests/ui/traits/const-traits/span-bug-issue-121418.stderr +++ b/tests/ui/traits/const-traits/span-bug-issue-121418.stderr @@ -27,7 +27,7 @@ LL | pub const fn new() -> std::sync::Mutex<dyn T> {} | = help: within `Mutex<(dyn T + 'static)>`, the trait `Sized` is not implemented for `(dyn T + 'static)` note: required because it appears within the type `Mutex<(dyn T + 'static)>` - --> $SRC_DIR/std/src/sync/mutex.rs:LL:COL + --> $SRC_DIR/std/src/sync/poison/mutex.rs:LL:COL = note: the return type of a function must have a statically known size error: aborting due to 3 previous errors |
