The Rust Edition Guide
Introduction
What are editions?
What are editions?
Creating a new project
Transitioning an existing project to a new edition
Advanced migrations
Rust 2015
Rust 2015
Rust 2018
Rust 2018
Path and module system changes
Anonymous trait function parameters deprecated
New keywords
Method dispatch for raw pointers to inference variables
Cargo changes
Rust 2021
Rust 2021
Additions to the prelude
Default Cargo feature resolver
IntoIterator for arrays
Disjoint capture in closures
Panic macro consistency
Reserving syntax
Warnings promoted to errors
Or patterns in macro-rules
C-string literals