RustRover 2024.1.4

Released: Jul 9, 2024

2024.1.4 での更新項目

機能

  • Converted some error annotators into inspections.
  • Added support for ? operator.
  • Added support for unsafe_extern_block, removed false positive.
  • Now completes move after async.
  • Improved the informativeness of error messages when a build.rs fails
  • RustRover now reports E0308 error for loop blocks.
  • Added support for postfix-match.

不具合の修正

  • Running a test rebuilds everything twice.
  • Compiler error output in the build tool windows should not be red.
  • Unused import false positive if usage is in {} in format macros.
  • Empty main.rs: no no main and infinite false analyzing.
  • Navigate to cause QF is not available if function body has ?.
  • E0599: This error occurs when a method is used on a type which doesn't implement it.
  • Chained methods & fields completion: do not match prefix.
  • Wrong place caret after completion attribute macro.
  • Completion for {}: First option is not {} when you enter if there is defined some appropriate variable.
  • Do not expand macro in dependencies tests.
  • Parse trailing + in lifetime parameter bounds.
  • Opening a workspace package as a separate project leads to unresolved imports errors for local imports.
  • False positive "incompatible types" for inheritance workspace.lints in Cargo.toml.
  • E0277: suggest to replace end value with for functions that accept Fn*.
  • Mixed-up descriptions for new toml errors.
  • Restore external sources: incorrect behavior if file is opened in two RR.
  • Don't set RUSTC_BOOTSTRAP=1 for cargo check when evaluating buildscripts if rust >= 1.74.0.
  • Editing a project's local dependency in second IDE window shows misleading error message.
  • "Emulate terminal" is disabled by default.
  • Empty PSI elements must not be passed to createDescriptor.
  • java.lang.StringIndexOutOfBoundsException with completion in cfg![.
  • RustRover freezes on correct code with deep recursion.
  • False negative E0277 for assert_eq! with type mismatch.
  • No error for unfinished dot expression in editor.
  • std::env::set_var will be unsafe in 2024 edition, but RustRover also considers it as unsafe in the 2021 edition.