rfcs
rfcs copied to clipboard
RFCs for changes to Rust
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 -...
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)
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)
[Rendered](https://github.com/m-ou-se/rfcs/blob/export/text/0000-export.md)
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...
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...
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...
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...
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...
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...