github.com
...That works particularly well with teaching `Iterator` as one
of the first real traits you see, since `impl Trait` is a strong match for
working with iterators. As mentioned above, this approach also provides a more
intuitive stepping stone for those coming from OO-ish languages. Later,
bounded generics can...
RFC 1951
RFC
2017-03-12
~31 min read
rust-lang.github.io
...Appendix A - Suggested Demangling
This RFC suggests that names are demangled to a form that matches Rust syntax as it is used in source code, compiler error messages and rustdoc:
•
Path components should be separated by ::.
•
If the path root is a <crate-id> it should be printed as the...
RFC 2603
RFC
2018-11-27
~34 min read
rust-lang.github.io
...We need to improve our methods of communicating Rust support levels to downstream users, especially people who may be relying indirectly on a non-tier-1 Rust target and who may have expectations that do not match the target tier.
This RFC provides some guidance on the degree of stability...
RFC 2803
RFC
2019-09-20
~37 min read
rust-lang.github.io
...The expectation is that the behavior will generally match "whatever '_ would do". For example, let w: W::widgets(..) = ... would be equivalent to let w: W::$Widgets<'_> = ....
Converting to higher-ranked trait bounds
The method named in an RTN type may have generic parameters (e.g., fn widgets<'a>(&'a self...
RFC 3654
RFC
2024-07-11
~42 min read