rust/library
bors 1a740c3816 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
2023-11-18 00:59:19 +00:00
..
alloc Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
backtrace@e9da96eb45
core Rollup merge of #118006 - lcnr:discriminant-docs, r=compiler-errors 2023-11-17 23:04:24 +01:00
panic_abort
panic_unwind
portable-simd
proc_macro Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #117138 - zachs18:rwlock_guard_debug_unsized, r=dtolnay 2023-11-18 00:59:19 +00:00
stdarch@f4528dd6e8
sysroot
test Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
unwind