rust/library/core/src/fmt
David Wood 884d0e031a
library/compiler: add PointeeSized bounds
As core uses an extern type (`ptr::VTable`), the default `?Sized` to
`MetaSized` migration isn't sufficient, and some code that previously
accepted `VTable` needs relaxed to continue to accept extern types.

Similarly, the compiler uses many extern types in `rustc_codegen_llvm`
and in the `rustc_middle::ty::List` implementation (`OpaqueListContents`)
some bounds must be relaxed to continue to accept these types.

Unfortunately, due to the current inability to relax `Deref::Target`,
some of the bounds in the standard library are forced to be stricter than
they ideally would be.
2025-06-16 23:04:33 +00:00
..
builders.rs Mark std::fmt::from_fn as #[must_use] 2025-02-03 20:17:27 +00:00
float.rs float: Add f16 parsing and printing 2025-05-18 16:43:13 +00:00
fmt_trait_method_doc.md Document proper usage of fmt::Error and fmt()'s Result. 2024-05-09 17:58:38 -07:00
mod.rs library/compiler: add PointeeSized bounds 2025-06-16 23:04:33 +00:00
nofloat.rs Refactor floating macro and nofloat panic message 2024-10-15 22:27:06 +09:00
num.rs faster fmt::Display of 128-bit integers, without unsafe pointer 2025-06-11 14:20:57 +02:00
rt.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00