rfcs
rfcs copied to clipboard
RFCs for changes to Rust
[Rendered](https://github.com/tgross35/rfcs/blob/feature-visibility/text/3487-feature-visibility.md) RFC for `feature-visibility` RFC goals: add a way to make Cargo features private This was split from https://github.com/rust-lang/rfcs/pull/3416 ```toml [features] foo = { enables = [], public = false}...
As of Windows 10 build 17035 (stabilized in April 2018 update), all (in reality, most) Windows APIs can be called via the "legacy" narrow-string interfaces (e.g. `CreateFileA` instead of `CreateFileW`),...
Now I know the rust team has shot down the idea of having stable ABI, and I am in favor of it, but there is a way to support dynamic...
This RFC extends the "implicit named arguments" mechanism to allow accessing field names with `var.field` syntax: `format!("{self.x} {var.another_field}")`. Note that this does not permit `.await`, despite the syntactic similarity; it...
Co-authored-by: Eric Holk [Rendered](https://github.com/joshtriplett/rfcs/blob/fn-body-blocks/text/3629-fn-body-blocks.md)
I haven't found an RFC or Rust issue for this, so, I figured I'd mention it here. The only ones I've seen suggested panicking on negative values, which would not...
Allow the syntax `async T` and `gen T` as types, equivalent to `impl Future` and `impl Iterator` respectively. Accept them anywhere `impl Trait` can appear. This RFC was inspired by...
```rust pub enum Fallible { Succ, Fail(T), } ``` how `Option` is equivalent to `Result`, `Fallible` is equivalent to `Result` https://datavirke.dk/posts/fallible-missing-rust-error-handling/
fixes #3618. [Rendered](https://github.com/hamirmahal/rfcs/blob/patch-2/text/0344-conventions-galore.md)