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

[Rendered](https://github.com/PoignardAzur/placement-by-return/blob/placement-by-return/text/0000-placement-by-return.md). --- **Glossary:** - **GCE:** [Guaranteed Copy Elision](https://stackoverflow.com/questions/38043319/how-does-guaranteed-copy-elision-work). - **NRVO:** [Named Return Value Optimization](https://shaharmike.com/cpp/rvo/). - **DST:** [Dynamically-Sized Type](https://doc.rust-lang.org/reference/dynamically-sized-types.html).

T-lang
T-libs-api
Libs-Tracked

[Rendered](https://github.com/m-ou-se/rfcs/blob/atomic-memcpy/text/3301-atomic-memcpy.md)

T-libs-api

This RFC adds support In Cargo for setting RUSTFLAGS via a new command line options, `--rustflags ` that only applies to the current crate being built. [Rendered](https://github.com/ridwanabdillahi/rfcs/blob/cargo_cli_rustflags/text/0000-rustflags.md)

T-cargo

[rendered](https://github.com/conradludgate/rfcs/blob/array-builder/text/0000-array-builder.md)

T-libs-api

The Swift ABI defines an interesting [struct layout](https://github.com/apple/swift/blob/master/docs/ABI.rst#fragile-struct-and-tuple-layout) which defines the size of a type separately from its stride: > Note that this differs from C or LLVM's normal layout...

T-lang

```rust #[derive(Debug, Clone, PartialEq, Eq)] pub struct NotFound { pub index: Idx } pub trait TryIndex { type Output; fn try_index(&self, index: Idx) -> Result; } pub trait TryIndexMut {...

## Background Numerical types with defined constraints can be a useful way to perform some sanity checks at compile time. Ada is one of language I know which has these...

T-lang

The idea of a `!=` constraint form in `where` clauses has come up multiple times, in discussions of the `where` clause itself, in https://github.com/rust-lang/rust/issues/20041 as a counterpart to the `==`...

T-lang

Hi, As suggested in an old and closed but still active [discussion](https://github.com/rust-lang/rfcs/issues/920), I open another thread because it looks interesting to have the capability to have inline comments. My use...

Currently there are only two ways to cast floats to integers 1. `as` casts 2. `to_int_unchecked` Adding explicit conversion functions could make casting a bit easier. I would propose the...

T-libs-api