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
rust-lang.github.io
Feature Name: lint_reasons Start Date: 2018-04-02 RFC PR: rust-lang/rfcs#2383 Rust Issue: rust-lang/rust#54503 Summary Rust has a number of code lints, both built into the compiler and provided through external tools, which provide guidelin...
Updates from Rust Core
2018-10-30
~9 min read
rust-lang.github.io
Feature Name: tuple_struct_self_ctor Start Date: 2017-01-18 RFC PR: rust-lang/rfcs#2302 Rust Issue: rust-lang/rust#51994 Summary Tuple structs can now be constructed and pattern matched with Self(v1, v2, ..). A simple example: struct TheAns...
Updates from Rust Core
2018-09-18
~6 min read
rust-lang.github.io
Feature Name: self_in_typedefs Start Date: 2018-01-17 RFC PR: rust-lang/rfcs#2300 Rust Issue: rust-lang/rust#49303 Summary The special Self identifier is now permitted in struct, enum, and union type definitions. A simple example struct is:...
Updates from Rust Core
2018-08-21
~13 min read
rust-lang.github.io
Feature Name: convert_identity Start Date: 2018-01-19 RFC PR: rust-lang/rfcs#2306 Rust Issue: rust-lang/rust#53500 Summary Adds an identity function pub const fn identity<T>(x: T) -> T { x } as core::convert::identity. The function is also...
Updates from Rust Core
2018-08-21
~5 min read
rust-lang.github.io
Feature Name: allow_if_let_irrefutables Start Date: 2017-07-27 RFC PR: rust-lang/rfcs#2086 Rust Issue: rust-lang/rust#44495 Summary Currently when using an if let statement and an irrefutable pattern (read always match) is used the compiler...
Updates from Rust Core
2018-07-03
~1 min read
rust-lang.github.io
Feature Name: unreservations Start Date: 2018-04-26 RFC PR: rust-lang/rfcs#2421 Rust Issue: rust-lang/rust#51115 Summary We unreserve: pure sizeof alignof offsetof Motivation We are currently not using any of the reserved keywords listed in...
Updates from Rust Core
2018-06-12
~6 min read
rust-lang.github.io
Feature Name: none? Start Date: 2015-02-18 RFC PR: rust-lang/rfcs#1940 Rust Issue: rust-lang/rust#43302 Summary Support the #[must_use] attribute on arbitrary functions, to make the compiler lint when a call to such a function is ignored. M...
Updates from Rust Core
2018-05-08
~3 min read
rust-lang.github.io
Feature Name: euclidean_modulo Start Date: 2017-10-09 RFC PR: rust-lang/rfcs#2169 Rust Issue: rust-lang/rust#49048 Summary This RFC proposes the addition of a modulo method with more useful and mathematically regular properties over the bui...
Updates from Rust Core
2018-04-17
~4 min read
rust-lang.github.io
Feature Name: repr_packed Start Date: 2015-12-06 RFC PR: rust-lang/rfcs#1399 Rust Issue: rust-lang/rust#33158 Summary Extend the existing #[repr] attribute on structs with a packed = "N" option to specify a custom packing for struct types....
Updates from Rust Core
2018-04-17
~3 min read
rust-lang.github.io
Feature Name: raw_identifiers Start Date: 2017-09-14 RFC PR: rust-lang/rfcs#2151 Rust Issue: rust-lang/rust#48589 Summary Add a raw identifier format r#ident, so crates written in future language editions/versions can still use an older API...
Updates from Rust Core
2018-03-27
~4 min read
rust-lang.github.io
Feature Name: fallible_collection_alloc Start Date: 2017-08-18 RFC PR: rust-lang/rfcs#2116 Rust Issue: rust-lang/rust#48043 Summary Add minimal support for fallible allocations to the standard collection APIs. This is done in two ways: For...
Updates from Rust Core
2018-03-20
~24 min read