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

Rust needs an #[unstable] attribute for library authors to use, similar to the #[unstable] attribute used by the standard library.

T-lang
T-libs-api

As per discussion in #2407, adds the `move(y=f(x)) || {}`/`move(x) || {}` syntax. [Rendered](https://github.com/SOF3/rfcs/blob/closure-move-bindings/text/3512-closure-move-bindings.md)

T-lang

Note that the most eminently bikesheddable portion of this proposal is the handling of niches, and the crABI `Option` and `Result` types built around that. There are multiple open questions...

T-lang

It is clear that there is a need for the ability to move out of smart pointers and indexable things (`DerefMove`, `IndexMove`). The other frequently desired option is to `IndexSet`,...

T-lang
T-libs-api

Basically, at the moment `Arc` and its `Weak` uses: ```rs pub struct Arc { ptr: NonNull, phantom: PhantomData, alloc: A, } pub struct Weak { ptr: NonNull, alloc: A, }...

T-libs-api
T-libs

[Rendered](https://github.com/epage/rfcs/blob/script/text/3502-cargo-script.md) [FCP](https://github.com/rust-lang/rfcs/pull/3502#issuecomment-2072925354) eRFC rust-lang/rfcs#3424 was previously approved without any direction on syntax or behavior having been decided. This RFC is to finalize the decisions made through the implementation to prepare...

T-cargo
proposed-final-comment-period
disposition-merge

Current situation: We are able to see a list of dependents of an entire crate via crates.io. We're also able to see minimalistic examples in the documentation of the item...

Declare that references and `Box` inside a new `MaybeDangling` type do not need to satisfy any memory-dependent validity properties (such as `dereferenceable` and `noalias`). [Rendered](https://github.com/RalfJung/rfcs/blob/maybe-dangling/text/0000-maybe-dangling.md) Thanks to @rust-lang/wg-unsafe-code-guidelines for a...

T-lang
proposed-final-comment-period
disposition-merge

This RFC proposes adding a way to specify dependencies (in a cargo manifest) that are only used for a single artifact (lib/bin/etc). This is intended to allow crate authors publishing...

T-cargo
A-dependencies

[**Rendered**](https://github.com/Jules-Bertholet/rfcs/blob/manuallydrop-deref-move/text/3466-manuallydrop-deref-move.md) Pre-RFC discussion on [Internals](https://internals.rust-lang.org/t/move-out-of-deref-for-manuallydrop/19216/) @rustbot label A-drop

T-lang
A-drop