rfcs
rfcs copied to clipboard
RFCs for changes to Rust
Idea: types which are `repr(transparent)` whose can be constructed in the current scope should be coercible via `as`. Going to post this here because I don't really have the time...
This RFC adds an `async` bound modifier to the `Fn` family of trait bounds. The combination desugars to a set of perma-unstable `AsyncFn{,Mut,Once}` traits that parallel the current `Fn{,Mut,Once}` traits....
[Rendered](https://github.com/max-niederman/rust-rfcs/blob/guard-patterns/text/3637-guard-patterns.md)
Add a new syntax for multi-line string literals designed to contain code and play nicely with `rustfmt`. [Rendered](https://github.com/Diggsey/rfcs/blob/code-string-literals/text/0000-code-literals.md)
[Rendered](https://github.com/Turbo87/rust-rfcs/blob/crates-io/crate-deletions/text/3660-crates-io-crate-deletions.md)
[tracking issue](https://github.com/rust-lang/rust/issues/43781) cc @rust-lang/rustdoc [Rendered](https://github.com/GuillaumeGomez/rfcs/blob/doc-cfg/text/000-rustdoc-cfgs-handling.md)
This RFC adds an attribute that allows specifying the ordinal of an exported function when creating cdylibs on windows. We already have a [`#[link_ordinal(n)]`](https://doc.rust-lang.org/reference/items/external-blocks.html#the-link_ordinal-attribute) attribute which allows importing functions from...
This RFC extends Cargo's structured table form of features to include a `deps` key, to unambiguously specify packages the feature depends on without having to use the `dep:foo` microformat. ```toml...
This RFC is to enable [merging](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/.22linking.22.20separate.20rustdoc.20outputs/near/434858884) cross-crate information (like the search index, index.html, source files index) from separate output directories, so that rustdoc can run in parallel in non-cargo build...
Return type notation (RTN) gives a way to reference or bound the type returned by a trait method. The new bounds look like `T: Trait` or `T::method(..): Send`. The primary...