github.com
## Summary [summary]: #summary Allow importing associated functions and constants from traits and then using them like regular items. ## Motivation [motivation]: #motivation There has for a long time been a desire to shorten the duplication...
RFC 3591
RFC
2024-03-19
~8 min read
github.com
# Summary [summary]: #summary Tweak the behaviour of `?` inside `try{}` blocks to not depend on context, in order to work better with methods and need type annotations less often. The stable behaviour of `?` when *not* in a `try{}` block is...
RFC 3721
RFC
2024-02-22
~20 min read
github.com
## Summary [summary]: #summary Re-organise the compiler team: - Re-define and rename the tiers of membership - Change how team members and contributors are promoted - Document expectations of team members and maintainers - Establish mechani...
RFC 3599
RFC
2024-01-19
~15 min read
github.com
## Summary [summary]: #summary This eRFC lays out a path for [stabilizing programmatic output for libtest](https://github.com/rust-lang/rust/issues/49359). ## Motivation [motivation]: #motivation [libtest](https://github.com/rust-lang/rust/...
RFC 3558
RFC
2024-01-18
~4 min read
github.com
## Summary [summary]: #summary Change the range operators `a..b`, `a..`, and `a..=b` to resolve to new types `std::range::Range`, `std::range::RangeFrom`, and `std::range::RangeInclusive` in Edition 2024. These new types will not implement...
RFC 3550
RFC
2023-12-18
~18 min read
github.com
## Summary [summary]: #summary This RFC proposes support for `patchable-function-entry` as present in [`clang`](https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fpatchable-function-entry) and [`gcc`](https://gcc.gn...
RFC 3543
RFC
2023-12-12
~12 min read
github.com
## Summary This RFC proposes merging the Release team into the Infrastructure team as a subteam. The membership of the Infrastructure and Release teams proper remain the same.[^subteam] [^subteam]: Note: Members of subteams are not automati...
RFC 3533
RFC
2023-11-23
~4 min read
github.com
## Summary [summary]: #summary Pointers (this includes values of reference type) in Rust have **two** components. * The pointer's "address" says where in memory the pointer is currently pointing. * The pointer's "provenance" says where and...
RFC 3559
RFC
2023-11-22
~22 min read
github.com
## Summary [summary]: #summary When a constant appears as a pattern, this is syntactic sugar for writing a pattern that corresponds to the constant's value by hand. This operation is only allowed when (a) the type of the constant implements...
RFC 3535
RFC
2023-11-19
~17 min read
github.com
## Macro matcher fragment specifiers edition policy - Start Date: 2023-11-15 - RFC PR: [rust-lang/rfcs#3531](https://github.com/rust-lang/rfcs/pull/3531) ## Summary This RFC sets out the policy for how the behavior of macro matcher fragment...
RFC 3531
RFC
2023-11-16
~7 min read
github.com
## Summary [summary]: #summary Provide a happy path for developers needing to work with older versions of Rust by - Preferring MSRV (minimum-supported-rust-version) compatible dependencies when Cargo resolves dependencies - Ensuring compati...
RFC 3537
RFC
2023-11-14
~53 min read
github.com
## Summary [summary]: #summary Introduce a table of path "bases" in Cargo configuration files that can be used to prefix the path of `path` dependencies and `patch` entries. This feature will not support declaring path bases in manifest fil...
RFC 3529
RFC
2023-11-13
~14 min read
github.com
## Summary [summary]: #summary This RFC proposes a specification for how our floating point operations are expected to behave. The current implementation in rustc already matches the specification, so after accepting the RFC no compiler cha...
RFC 3514
RFC
2023-10-14
~26 min read
github.com
## Summary [summary]: #summary Introduce a public/private distinction to crate dependencies. Note: this supersedes [RFC 1977] Enough has changed in the time since that RFC was approved that we felt we needed to go back and get wider input o...
RFC 3516
RFC
2023-10-13
~15 min read
github.com
## Summary [summary]: #summary This RFC reserves the `gen` keyword in the Rust 2024 edition for generators and adds `gen { .. }` blocks to the language. Similar to how `async` blocks produce values that can be awaited with `.await`, `gen` b...
RFC 3513
RFC
2023-10-10
~20 min read
github.com
## Summary [summary]: #summary This RFC describes the inclusion of the `Future` and `IntoFuture` traits in the 2024 edition prelude. ## Motivation [motivation]: #motivation When an `async fn` is desugared we obtain an anonymous type with a...
RFC 3509
RFC
2023-10-05
~4 min read
github.com
## Summary [summary]: #summary The [rustdoc-types](https://crates.io/crates/rustdoc-types) crate will go from being individually maintained to being officially maintained by the rustdoc team. ## Motivation [motivation]: #motivation [`rustdo...
RFC 3673
RFC
2023-10-03
~4 min read
github.com
## Summary [summary]: #summary Add a frontmatter syntax to Rust as a way for [cargo to have manifests embedded in source code][RFC 3502]: ````rust #!/usr/bin/env cargo --- [dependencies] clap = { version = "4.2", features = ["derive"] } ---...
RFC 3503
RFC
2023-09-26
~20 min read
github.com
## Summary [summary]: #summary This RFC is an amendment to [RFC 3085] to declare that the Rust Project intends to produce a new edition in 2024, to set up a [project group] to deliver the edition, and to establish a tentative cadence for fu...
RFC 3501
RFC
2023-09-25
~4 min read
github.com
## Summary [summary]: #summary This RFC proposes extending `cargo update` to allow updates to pre-release versions when requested with `--precise`. For example, a `cargo` user would be able to call `cargo update -p dep --precise 0.1.1-pre.0...
RFC 3493
RFC
2023-09-20
~9 min read