Esteban Kuber
Esteban Kuber
Allow `struct` definitions to provide default values for individual fields and thereby allowing those to be omitted from initializers. When deriving `Default`, the provided values will then be used. For...
In the desugaring of `assert!` in 2024 edition, assign the condition expression to a `bool` biding in order to provide better type errors when passed the wrong thing. The span...
I noticed that https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/items.md doesn't contain any mention of `const` or `static` items. I'm sure that rustfmt actually does track them, but it'd be nice to have the behavior documented.
_Proposed addition to https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/items.md#structs-and-unions to account for [default field values](https://github.com/rust-lang/rust/issues/132162):_ --- If the struct has a const default field value, if the value is a single expression it should be...
``` error: cannot find attribute `sede` in this scope --> $DIR/missing-derive-2.rs:22:7 | LL | #[sede(untagged)] | ^^^^ | help: the derive macros `Deserialize` and `Serialize` accept the similarly named `serde`...
When trying to construct a struct that has a public field of a private type, suggest using `..` if that field has a default value. ``` error[E0603]: struct `Priv1` is...
Is exFAT support something that would be considered? I am aware of https://github.com/qiuchengxuan/exfat, but it would be beneficial to have a single crate for the whole family of FAT filesystems.