rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

RFCs for changes to Rust

Results 421 rfcs issues
Sort by recently updated
recently updated
newest added

[Rendered](https://github.com/chorman0773/rust-rfcs/blob/freeze-uninit/text/3605-freeze-uninit.md)

T-lang
T-libs-api
T-opsem

I would like to propose that the compiler generates an automatic implementation of **TryFrom** and **Into** for C-style enums. Now I don`t know if they are actually called C-style enums...

#2565 introduced attributes for function parameters. This RFC proposes the logical next step: allowing attributes for function return types. This RFC is less radical than #2602 which proposes that attributes...

T-lang

Third-party `derive` macros want to be able to use the same direct discriminant access to the `enum` for which they're implementing a trait that the core derive macro does, which...

T-lang

I think this a good quality of life proposal similar to the [proposal to add a derive Default for enums](https://rust-lang.github.io/rfcs/3107-derive-default-enum.html), not big in scope or magnitude. TLDR: I want to...

T-libs-api

Beginning with the 2024 edition, reserve the syntax `#"foo"#`, as a way of future-proofing against future language changes. [Rendered](https://github.com/pitaj/rfcs/blob/unprefixed-strings/text/3593-unprefixed_guarded_strings.md) Note: much of the text of this RFC is directly adapted...

T-lang
finished-final-comment-period
disposition-merge
to-announce
A-edition-2024

We all know that from inference perspective, all impls are "global" if not excluded with coherence. So this is actually part of the "inference API" of a crate. (But not...

Currently there's a suboptimal interaction between const asserts and const generics. A more general function that is valid for all N cannot call a function that asserts at compile time...

T-lang

Introduce method `round_to_digits(T: u32)` for `f64` (and `f32`). Same as `f64::round()` except that you can specify how many digits you want to round to. # Example use case: I have...

I'm trying to create a library that rounds float types (f32 and f64) to a specified number of digits by calling on the "round()" function along with some other operations....