Files
rust/tests/ui/impl-trait
Matthias Krüger 750e902a75 Rollup merge of #146675 - Jules-Bertholet:sync-nonexclusive, r=Mark-Simulacrum
Allow shared access to `Exclusive<T>` when `T: Sync`

Addresses libs-api request in https://github.com/rust-lang/rust/issues/98407#issuecomment-3299348713.

Adds the following trait impls to `Exclusive<T>`, all bounded on `T: Sync`:

- `AsRef<T>`
- `Clone`
- `Copy`
- `PartialEq`
- `StructuralPartialEq`
- `Eq`
- `Hash`
- `PartialOrd`
- `Ord`
- `Fn`

``@rustbot`` label T-libs-api
2025-09-28 18:13:12 +02:00
..
2025-05-09 02:35:18 +00:00
2025-09-26 16:33:15 +02:00
2025-06-30 11:50:19 +05:00
2025-08-20 11:10:38 +02:00
2025-09-21 17:26:39 -04:00