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

The 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.