Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
## Summary [summary]: #summary This **experimental RFC** lays out a high-level plan for improving Cargo's ability to integrate with other build systems and environments. As an experimental RFC, it opens the door to landing [unstable feature...
github.com RFC 2136 RFC 2017-09-01 ~20 min read
## Summary [summary]: #summary Add compiler-generated `Clone` implementations for tuples and arrays with `Clone` elements of all lengths. ## Motivation [motivation]: #motivation Currently, the `Clone` trait for arrays and tuples is implemen...
github.com RFC 2133 RFC 2017-08-28 ~5 min read
## Summary [summary]: #summary Implement `Clone` and `Copy` for closures where possible: ```rust // Many closures can now be passed by-value to multiple functions: fn call<F: FnOnce()>(f: F) { f() } let hello = || println!("Hello, world!");...
github.com RFC 2132 RFC 2017-08-27 ~4 min read
## Summary [summary]: #summary Permit nested `{}` groups in imports. Permit `*` in `{}` groups in imports. ```rust use syntax::{ tokenstream::TokenTree, // >1 segments ext::base::{ExtCtxt, MacResult, DummyResult, MacEager}, // nested braces...
github.com RFC 2128 RFC 2017-08-25 ~3 min read
TBD
## This RFC was previously approved, but part of it later **withdrawn** The `crate` visibility specifier was previously implemented, but later removed. For details see the [summary comment]. [summary comment]: https://github.com/rust-lang/r...
github.com RFC 2126 RFC 2017-08-24 ~21 min read
## Summary [summary]: #summary Add the method `Option::filter<P>(self, predicate: P) -> Self` to the standard library. This method makes it possible to easily throw away a `Some` value depending on a given predicate. The call `opt.filter(p)...
github.com RFC 2124 RFC 2017-08-21 ~4 min read
## Summary [summary]: #summary Support defining C-compatible variadic functions in Rust, via new intrinsics. Rust currently supports declaring external variadic functions and calling them from unsafe code, but does not support writing such...
github.com RFC 2137 RFC 2017-08-21 ~8 min read
## Summary [summary]: #summary Add minimal support for fallible allocations to the standard collection APIs. This is done in two ways: * For users with unwinding, an `oom=panic` configuration is added to make global allocators panic on oom....
github.com RFC 2116 RFC 2017-08-18 ~24 min read
## Summary [summary]: #summary Introduce a new `dyn Trait` syntax for trait objects using a contextual `dyn` keyword, and deprecate "bare trait" syntax for trait objects. In a future edition, `dyn` will become a proper keyword and a lint ag...
github.com RFC 2113 RFC 2017-08-17 ~8 min read
## Summary [summary]: #summary Eliminate the need for separately binding lifetime parameters in `fn` definitions and `impl` headers, so that instead of writing: ```rust fn two_args<'b>(arg1: &Foo, arg2: &'b Bar) -> &'b Baz fn two_lifetimes<...
github.com RFC 2115 RFC 2017-08-17 ~14 min read
## Summary [summary]: #summary Allow unnamed fields of `struct` and `union` type, contained within an outer struct or union; the fields they contain appear directly within the containing structure, with the use of `union` and `struct` deter...
github.com RFC 2102 RFC 2017-08-05 ~18 min read
## Summary [summary]: #summary Remove the need for explicit `T: 'x` annotations on structs. We will infer their presence based on the fields of the struct. In short, if the struct contains a reference, directly or indirectly, to `T` with li...
github.com RFC 2093 RFC 2017-08-02 ~17 min read
nll
## Summary [summary]: #summary Extend Rust's borrow system to support **non-lexical lifetimes** -- these are lifetimes that are based on the control-flow graph, rather than lexical scopes. The RFC describes in detail how to infer these new,...
github.com RFC 2094 RFC 2017-08-02 ~67 min read
## Summary [summary]: #summary Enable accurate caller location reporting during panic in `{Option, Result}::{unwrap, expect}` with the following changes: 1. Support the `#[track_caller]` function attribute, which guarantees a function has a...
github.com RFC 2091 RFC 2017-07-31 ~31 min read
## Summary [summary]: #summary Eliminate the need for “redundant” bounds on functions and impls where those bounds can be inferred from the input types and other trait bounds. For example, in this simple program, the impl would no longer re...
github.com RFC 2089 RFC 2017-07-28 ~19 min read
## Summary [summary]: #summary Currently when using an if let statement and an irrefutable pattern (read always match) is used the compiler complains with an `E0162: irrefutable if-let pattern`. The current state breaks macros who want to a...
github.com RFC 2086 RFC 2017-07-27 ~2 min read
## Summary [summary]: #summary Add the ability to create named existential types and support `impl Trait` in `let`, `const`, and `static` declarations. ```rust // existential types existential type Adder: Fn(usize) -> usize; fn adder(a: usi...
github.com RFC 2071 RFC 2017-07-20 ~15 min read
## Summary [summary]: #summary Provide a stable mechanism to specify the behavior of `panic!` in no-std applications. ## Motivation [motivation]: #motivation The `#![no_std]` attribute was stabilized some time ago and it made possible to bu...
github.com RFC 2070 RFC 2017-07-19 ~5 min read
## Summary [summary]: #summary Allow constraints to appear in where clauses which are trivially known to either always hold or never hold. This would mean that `impl Foo for Bar where i32: Iterator` would become valid, and the impl would ne...
github.com RFC 2056 RFC 2017-07-05 ~2 min read
## Summary [summary]: #summary Introduce a move to dual-MIT/Apache2 licensing terms to the Rust RFCs repo, by requiring them for all new contributions, and asking previous contributors to agree on the new license. ## Disclaimer [disclaimer]...
github.com RFC 2044 RFC 2017-06-26 ~3 min read
"Also: a program written in Rust had a bug, and while it caused downtime, *there was no security issue and nobody's data was compromised* ."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, and research. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.