rust-lang.github.io
Feature Name: offset_of Start Date: 2022-08-29 RFC PR: rust-lang/rfcs#3308 Rust Issue: rust-lang/rust#106655 Summary Introduce a new macro core::mem::offset_of!, which evaluates to a constant containing the offset in bytes of a field inside...
Updates from the Rust Project
2023-04-26
~17 min read
rust-lang.github.io
Feature Name: do_not_recommend Start Date: 2018-04-07 RFC PR: rust-lang/rfcs#2397 Rust Issue: rust-lang/rust#51992 Summary A new attribute can be placed on trait implementations: #[do_not_recommend]. This attribute will cause the compiler t...
Updates from the Rust Project
2023-01-18
~8 min read
rust-lang.github.io
Feature Name: cargo_alternative_registry_auth Start Date: 2021-03-31 RFC PR: rust-lang/rfcs#3139 Tracking Issue: rust-lang/cargo#10474 Summary Enables Cargo to include the authorization token for all API requests, crate downloads and index...
Updates from the Rust Project
2022-11-23
~7 min read
rust-lang.github.io
Feature Name: source_replacement_ambiguity Start Date: 2022-07-05 RFC PR: rust-lang/rfcs#3289 Tracking Issue: rust-lang/cargo#10894 Summary When Cargo is performing an API operation (yank/login/publish/etc.) to a source-replaced crates-io,...
Updates from the Rust Project
2022-10-12
~4 min read
rust-lang.github.io
Feature Name: let-else Start Date: 2021-05-31 RFC PR: rust-lang/rfcs#3137 Rust Issue: rust-lang/rust#87335 Summary Introduce a new let PATTERN: TYPE = EXPRESSION else DIVERGING_BLOCK; construct (informally called a let-else statement), the...
Updates from the Rust Project
2022-09-21
~20 min read
rust-lang.github.io
Feature Name: generic_associated_types Start Date: 2016-04-29 RFC PR: rust-lang/rfcs#1598 Rust Issue: rust-lang/rust#44265 Summary Allow type constructors to be associated with traits. This is an incremental step toward a more general featu...
Updates from the Rust Project
2022-09-21
~13 min read
rust-lang.github.io
Feature Name: generic_assert Start Date: 2017-05-24 RFC PR: rust-lang/rfcs#2011 Rust Issue: rust-lang/rust#44838 Summary Make the assert! macro recognize more expressions (utilizing the power of procedural macros), and extend the readabilit...
Updates from the Rust Project
2022-06-29
~2 min read
rust-lang.github.io
Feature Name: thread_local_cell_methods Start Date: 2021-10-17 RFC PR: rust-lang/rfcs#3184 Rust Issue: rust-lang/rust#92122 Summary Adding methods to LocalKey for LocalKey<Cell<T>> and LocalKey<RefCell<T>> to make thread local cells easier...
Updates from the Rust Project
2022-03-09
~8 min read
rust-lang.github.io
Feature Name: (bindeps) Start Date: 2020-11-30 RFC PR: rust-lang/rfcs#3028 Tracking Issue: rust-lang/cargo#9096 Summary Allow Cargo packages to depend on bin, cdylib, and staticlib crates, and use the artifacts built by those crates. Motiva...
Updates from the Rust Project
2022-03-02
~15 min read
rust-lang.github.io
Feature Name: io_safety Start Date: 2021-05-24 RFC PR: rust-lang/rfcs#3128 Rust Issue: rust-lang/rust#87074 Summary Close a hole in encapsulation boundaries in Rust by providing users of AsRawFd and related traits guarantees about their raw...
Updates from Rust Core
2021-08-25
~13 min read
rust-lang.github.io
Feature Name: capture_disjoint_fields Start Date: 2017-11-28 RFC PR: rust-lang/rfcs#2229 Rust Issue: rust-lang/rust#53488 Summary This RFC proposes that closure capturing should be minimal rather than maximal. Conceptually, existing rules r...
Updates from Rust Core
2021-05-19
~6 min read
rust-lang.github.io
Feature Name: native_link_modifiers Start Date: 2020-06-12 RFC PR: rust-lang/rfcs#2951 Rust Issue: rust-lang/rust#81490 Summary Provide an extensible mechanism for tweaking linking behavior of native libraries both in #[link] attributes (#[...
Updates from Rust Core
2021-05-12
~6 min read
rust-lang.github.io
Compiler Rust’s compiler team are responsible for maintaining the Rust compiler, improving its performance and considering the stabilization of compiler features. We use the Forge to document the team’s processes, policies, and working prac...
News & Blog Posts
2020-07-08
~1 min read
rust-lang.github.io
Feature Name: unsafe_block_in_unsafe_fn Start Date: 2018-11-04 RFC PR: rust-lang/rfcs#2585 Rust Issue: rust-lang/rust#71688 Summary No longer treat the body of an unsafe fn as being an unsafe block. To avoid a breaking change, this is a war...
Updates from Rust Core
2020-06-02
~7 min read
rust-lang.github.io
Feature Name: cfg_version and cfg_accessible Start Date: 2018-08-12 RFC PR: rust-lang/rfcs#2523 Rust Issue: rust-lang/rust#64796 and rust-lang/rust#64797 Summary Permit users to #[cfg(..)] on whether: they have a certain minimum Rust versio...
Updates from Rust Core
2020-05-05
~25 min read
rust-lang.github.io
Feature Name: associated_type_defaults Start Date: 2018-08-27 RFC PR: rust-lang/rfcs#2532 Rust Issue: rust-lang/rust#29661 Summary Resolve the design of associated type defaults, first introduced in RFC 192, such that provided methods and o...
Updates from Rust Core
2020-03-03
~37 min read
rust-lang.github.io
Feature Name: linked_list_cursors Start Date: 2018-10-14 RFC PR: rust-lang/rfcs#2570 Rust Issue: rust-lang/rust#58533 Summary Many of the benefits of linked lists rely on the fact that most operations (insert, remove, split, splice etc.) ca...
Updates from Rust Core
2020-01-21
~9 min read
rust-lang.github.io
Feature Name: track_caller Start Date: 2017-07-31 RFC PR: rust-lang/rfcs#2091 Rust Issue: rust-lang/rust#47809 Summary Enable accurate caller location reporting during panic in {Option, Result}::{unwrap, expect} with the following changes:...
Updates from Rust Core
2019-12-10
~27 min read
rust-lang.github.io
Feature Name: const_repeat_expr Start Date: 2017-10-20 RFC PR: rust-lang/rfcs#2203 Rust Issue: rust-lang/rust#49147 ⚠ This RFC has mostly been superseded ⚠ This turned out to be more complicated than expected to detect while being intuitive...
Updates from Rust Core
2019-07-23
~4 min read
rust-lang.github.io
Rust's Unsafe Code Guidelines Reference This document is a past effort by the UCG WG to provide a "guide" for writing unsafe code that "recommends" what kinds of things unsafe code can and cannot do, and that documents which guarantees unsa...
News & Blog Posts
2019-06-04
~1 min read