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

Enable ranges of enum discriminants to be reserved ahead of time with an unnamed enum variant. This requires all users of that enum to consider those values as valid -...

T-lang

Updated section headers to use Markdown 2nd level headings. As part of https://github.com/rust-lang/rfcs/pull/3883 we switched the template to not use level-1 headings. r? Turbo87 [Rendered](https://github.com/rust-lang/rfcs/blob/ehuss-patch-1/text/3872-crates-io-security.md)

not-rfc

This RFC proposes FFI-compatible complex numbers to help scientific computing library authors use non-indirected complexes. I apologise in advance to `num-complex` [Rendered](https://github.com/SciMind2460/rfcs/blob/master/text/3892-complex-numbers.md)

T-lang
T-libs-api
I-libs-api-nominated

[Rendered](https://github.com/m-ou-se/rfcs/blob/export/text/0000-export.md)

T-lang

It would be really nice if Rust had some kind of built-in timeout functionality, e.g.: ```rust panic_after(Duration::from_millis(100), || { do_a_thing() } ``` The API could be something different, maybe, and...

A-test

This RFC proposes const self fields: per-type constant metadata that can be accessed through values and trait objects using expr.FIELD syntax. For trait objects, implementations store their constant data inline...

T-lang

The current model for incremental recompilations doesn't share progress between compiler activities, leading to unnecessary rebuilds. This PR introduces two concepts (target stages and stage dependencies) that would help alleviate...

T-compiler
T-cargo

Support for the `cmse-nonsecure-entry` and `cmse-nonsecure-call` calling conventions on ArmV8m (`thumbv8*`) targets, and a lint preventing (partially) uninitialized values from crossing the security boundary. ```rust extern "cmse-nonsecure-entry" fn entry(callback: extern...

T-lang
I-lang-nominated
P-lang-drag-2

We would like to propose `auto impl` syntax for supertraits for a few language enhancement, to ultimately facilitate easier trait evolution and refactoring and easier trait authoring when trait hierarchy...

T-lang
T-types
I-lang-radar

Tweak the behaviour of `?` inside `try{}` blocks to not depend on context, in order to work better with methods and need type annotations less often. The stable behaviour of...

T-lang
T-libs-api
I-lang-radar