New Features

  • Support import aliases in Move refactoring (Refactor | Move or F6)

  • Const generics support improvements:

    • Support const generics in Wrong generic arguments number (E0107) inspection
    • Support Move Element Right/Left actions for const generic parameters
    • Properly render const generics in signature of a top-level item
    • Fix type rendering with const generic parameters
  • Complete dependencies by subwords in Cargo.toml when using experimental local crates index. This feature is disabled by default for now. To use it, enable org.rust.crates.local.index option in Experimental Feature dialog (Help | Find Action and type Experimental features to open the dialog)

  • Import unresolved types from a function signature after performing Extract Function refactoring (Refactor | Extract Method or Ctrl+Alt+M)
  • Automatically select the default project Rust toolchain from Preferences | Languages & Frameworks | Rust when creating a new project
  • Auto-indent line when typing Enter in macro bodies
  • Increase minimal supported rustc version to 1.41.0
  • Enable by default Simplify boolean expression inspection


  • Do not show Redundant `::` warning for expressions inside length of array types
  • Reduce availability range of some intention actions. For example, now Add else branch to this if statement is not suggested in Alt+Enter menu when the caret is placed inside an if body
  • Do not insert default type parameters by Implement Member actions
  • Ignore environment variables when comparing Cargo run configurations. This allows reusing a similar existing configuration instead of creating a new one
  • Expand macro calls under cfg attribute after toggling a Cargo feature
  • Fix false-positive E0658 in stdlib

Full set of changes can be found here