rfcs
rfcs copied to clipboard
RFCs for changes to Rust
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/rust-lang/rfcs). > [!NOTE] These dependencies have not received...
This RFC proposes adding a (defaulted) generic parameter to the `core::future::Future` trait to allow more flexibility in `Future::poll`'s second argument (`context`). This is would allow new `Waker`s to be created,...
Add a type `UnsafePinned` that indicates to the compiler that this field is "pinned" and there might be pointers elsewhere that point to the same memory. This means, in particular,...
Allow type parameters to be used in nested functions. Removes E0401. This error was first introduced (at the latest) in 2015. After almost ten years of development and changes in...
I'm not sure what the process for amending RFCs is, but here goes nothing: This is one of the last pieces of the `v0` mangling, namely arbitrary constant values (for...
**Issue by [matthieu-m](https://github.com/matthieu-m)** _Saturday Jan 17, 2015 at 15:09 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/21298_ _This issue was labelled with: A-collections in the Rust repository_ --- First of all, I...
Not sure what's the "formal" syntax to express "for tuples of any size", so I'll use 2-tuples here in my examples. TL;DR, I want this: ```rust let ref_of_tuple: &(u8, u16)...
The crux of the matter is that stdcall methods on Windows using msvc handle struct returns differently than stdcall functions. This is particularly noticeable in COM, where although most of...
Shall ["Before creating an RFC" section of the README](https://github.com/rust-lang/rfcs?tab=readme-ov-file#before-creating-an-rfc) (and [corresponding site section](https://rust-lang.github.io/rfcs/#before-creating-an-rfc)) include a link to ["Frequently requested changes"](https://lang-team.rust-lang.org/frequently-requested-changes.html), so that authors can avoid creating unnecessary pre-RFCs for things...
Allow type inference for `const` or `static` when the RHS is known. ```rs const PI = 3.1415; // inferred as f64 static MESSAGE = "Hello, World!"; // inferred as &'static...