1. Introduction
  2. 1. What are editions?
    1. 1.1. Creating a new project
    2. 1.2. Transitioning an existing project to a new edition
    3. 1.3. Advanced migrations
  3. 2. Rust 2015
  4. 3. Rust 2018
    1. 3.1. Path and module system changes
    2. 3.2. Anonymous trait function parameters deprecated
    3. 3.3. New keywords
    4. 3.4. Method dispatch for raw pointers to inference variables
    5. 3.5. Cargo changes
  5. 4. Rust 2021
    1. 4.1. Additions to the prelude
    2. 4.2. Default Cargo feature resolver
    3. 4.3. IntoIterator for arrays
    4. 4.4. Disjoint capture in closures
    5. 4.5. Panic macro consistency
    6. 4.6. Reserving syntax
    7. 4.7. Warnings promoted to errors
    8. 4.8. Or patterns in macro-rules
    9. 4.9. C-string literals
  6. 5. Rust 2024 🚧
    1. 5.1. Additions to the prelude
    2. 5.2. unsafe_op_in_unsafe_fn warning
    3. 5.3. RPIT lifetime capture
    4. 5.4. Disallow references to static mut
    5. 5.5. Public/private dependencies
    6. 5.6. Cargo: Remove implicit features
    7. 5.7. Rustfmt: Combine all delimited exprs as last argument

The Rust Edition Guide

Method dispatch for raw pointers to inference variables

Summary

  • The tyvar_behind_raw_pointer lint is now a hard error.

Details

See Rust issue #46906 for details.