diff options
| author | bors <bors@rust-lang.org> | 2023-11-18 00:59:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-18 00:59:19 +0000 |
| commit | 1a740c381675940fce3ca4b125677928be736f0b (patch) | |
| tree | 65437cc8d437fc60bf161c51b354703efb8a3fe2 /compiler/rustc_query_impl/src | |
| parent | 82b804c74433a233914f604bb0ba385719605e5e (diff) | |
| parent | 9e3c9a6840bef1e7419ce3e319c349b6b1b37871 (diff) | |
| download | rust-1a740c381675940fce3ca4b125677928be736f0b.tar.gz rust-1a740c381675940fce3ca4b125677928be736f0b.zip | |
Auto merge of #117138 - zachs18:rwlock_guard_debug_unsized, r=dtolnay
Add T: ?Sized to `RwLockReadGuard` and `RwLockWriteGuard`'s Debug impls. For context, `MutexGuard` has `+ ?Sized` on its `Debug` impl, and all three have `+ ?Sized` on their `Display` impls. It looks like the `?Sized` was just missed when the impls were added (the impl for `MutexGuard` was added in the same PR (https://github.com/rust-lang/rust/pull/38006) with support for `T: Debug + ?Sized`, and `RwLock*Guard`s did allow `T: ?Sized` types already); the `Display` impls were added later (https://github.com/rust-lang/rust/pull/42822) with support for `T: Debug + ?Sized` types. I think this needs a T-libs-api FCP? I'm not sure if this also needs an ACP. If so I can make one. These are changes to (stable) trait impls on stable types so will be insta-stable. `@rustbot` label +T-libs-api
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
