rfcs
rfcs copied to clipboard
RFCs for changes to Rust
For integration testing purpose, it might be necessary to expose more API surface than usual. While it might be possible to directly add integration testing related support, it might be...
[Rendered](https://github.com/p-avital/rfcs/blob/stabilize-marker-freeze/text/3633-freeze-in-bounds.md)
This RFC grew out of a discussion on [the artifact dependencies RFC](https://github.com/rust-lang/rfcs/pull/3028/). As an extension of that RFC, some crates will want to supply artifacts via `build.rs`, such as by...
An alternative proposal to #3632. [Rendered](https://github.com/Amanieu/rfcs/blob/extern-impl-trait/text/0000-externally-implementable-traits.md) Tracking: - https://github.com/rust-lang/rust/issues/125418
This is an alternative to #2845 which aims to resolve the [issues](https://github.com/rust-lang/rust/issues/88967) surrounding the stabilization of `Iterator::intersperse`. ## Summary [summary]: #summary When name resolution encounters an ambiguity between 2 trait...
# Summary [summary]: #summary Add `[diagnostic::on_unimplemented_trait_use]` in `#[diagnostic]` on structs that will influence error messages emitted by unsatisfied traits bounds. # Motivation [motivation]: #motivation The idea came about when I...
[Rendered](https://github.com/Jules-Bertholet/rfcs/blob/match-ergonomics-2024/text/3627-match-ergonomics-2024.md) Changes to match ergonomics for the 2024 edition. @rustbot label T-lang A-patterns A-edition-2024
This is an alternative to https://github.com/rust-lang/rfcs/pull/3632 [Rendered](https://github.com/m-ou-se/rfcs/blob/extern-static/text/0000-externally-definable-statics.md) Tracking: - https://github.com/rust-lang/rust/issues/125418
As more and more things get failable or fault-tolerant variants (I'm not even going to *try* to list them all), and as Rust finds its way into more stability-critical systems...
[Rendered](https://github.com/tgross35/rfcs/blob/feature-deprecation/text/3486-feature-deprecation.md) RFC for `feature-deprecation` RFC goals: add a way to deprecate Cargo features This was split from https://github.com/rust-lang/rfcs/pull/3416 ```toml [features] foo = { enables = [], deprecated = true }...