Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
## Summary Temporaries live for the enclosing block when found in a let-binding. This only holds when the reference to the temporary is taken directly. This logic should be extended to extend the cleanup scope of any temporary whose lifetim...
github.com RFC 66 RFC 2014-05-04 ~1 min read
## Summary The rules about the places `mod foo;` can be used are tightened to only permit its use in a crate root and in `mod.rs` files, to ensure a more sane correspondence between module structure and file system hierarchy. Most notably,...
github.com RFC 63 RFC 2014-05-02 ~1 min read
## Summary `StrBuf` should be renamed to `String`. ## Motivation Since `StrBuf` is so common, it would benefit from a more traditional name. ## Drawbacks It may be that `StrBuf` is a better name because it mirrors Java `StringBuilder` or C#...
github.com RFC 60 RFC 2014-04-30 ~1 min read
## Summary The tilde (`~`) operator and type construction do not support allocators and therefore should be removed in favor of the `box` keyword and a language item for the type. ## Motivation * There will be a unique pointer type in the s...
github.com RFC 59 RFC 2014-04-30 ~1 min read
## Summary Asserts are too expensive for release builds and mess up inlining. There must be a way to turn them off. I propose macros `debug_assert!` and `assert!`. For test cases, `assert!` should be used. ## Motivation Asserts are too expe...
github.com RFC 50 RFC 2014-04-18 ~1 min read
## Summary Add a `regexp` crate to the Rust distribution in addition to a small `regexp_macros` crate that provides a syntax extension for compiling regular expressions during the compilation of a Rust program. The implementation that suppo...
github.com RFC 42 RFC 2014-04-12 ~9 min read
## Summary Split the current libstd into component libraries, rebuild libstd as a facade in front of these component libraries. ## Motivation Rust as a language is ideal for usage in constrained contexts such as embedding in applications, r...
github.com RFC 40 RFC 2014-04-08 ~15 min read
## Summary Check all types for well-formedness with respect to the bounds of type variables. Allow bounds on formal type variable in structs and enums. Check these bounds are satisfied wherever the struct or enum is used with actual type pa...
github.com RFC 34 RFC 2014-04-05 ~3 min read
## Summary This RFC is a proposal to remove the usage of the keyword `priv` from the Rust language. ## Motivation By removing `priv` entirely from the language, it significantly simplifies the privacy semantics as well as the ability to exp...
github.com RFC 26 RFC 2014-03-31 ~1 min read
## Summary Allow attributes on match arms. ## Motivation One sometimes wishes to annotate the arms of match statements with attributes, for example with conditional compilation `#[cfg]`s or with branch weights (the latter is the most import...
github.com RFC 49 RFC 2014-03-20 ~1 min read
## Summary Allow attributes on more places inside functions, such as statements, blocks and expressions. ## Motivation One sometimes wishes to annotate things inside functions with, for example, lint `#[allow]`s, conditional compilation `#[...
github.com RFC 16 RFC 2014-03-20 ~4 min read
## Summary This RFC describes a variety of extensions to allow any method to be used as first-class functions. The same extensions also allow for trait methods without receivers to be invoked in a more natural fashion. First, at present, th...
github.com RFC 132 RFC 2014-03-17 ~7 min read
## Summary The way our intrinsics work forces them to be wrapped in order to behave like normal functions. As a result, rustc is forced to inline a great number of tiny intrinsic wrappers, which is bad for both compile-time performance and...
github.com RFC 8 RFC 2014-03-14 ~2 min read
## Summary The "RFC" (request for comments) process is intended to provide a consistent and controlled path for new features to enter the language and standard libraries, so that all stakeholders can be confident about the direction the lan...
github.com RFC 2 RFC 2014-03-11 ~4 min read
## Summary This is an RFC to make all struct fields private by default. This includes both tuple structs and structural structs. ## Motivation Reasons for default private visibility * Visibility is often how soundness is achieved for many t...
github.com RFC 1 RFC 2014-03-11 ~5 min read
## History 2015.09.18 -- This RFC was partially superseded by [RFC 1238], which removed the parametricity-based reasoning in favor of an attribute. [RFC 1238]: https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md...
github.com RFC 769 RFC 2013-08-29 ~32 min read
## Summary Rust currently has an attribute usage lint but it does not work particularly well. This RFC proposes a new implementation strategy that should make it significantly more useful. ## Motivation The current implementation has two ma...
github.com RFC 3 RFC 2012-03-20 ~2 min read
"It’s like building stuff with LEGO. Sure, it could be a single type, but then you’d need a type for every possible combination of types, which wou..."

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.