Anton
Anton
In the list [of coercions](https://doc.rust-lang.org/stable/reference/type-coercions.html?highlight=deref#coercion-sites), it is claimed in the section of function arguments > For method calls, the receiver (self parameter) can only take advantage of unsized coercions. But...
* remove UB const DUMMY_SP, use safe `Span::call_site()` instead; * simplify argument parsing chains `it.next().unwrap().parse().unwrap()` into a single pattern match; * extract common logic for adding architecture-dependent item usage in...
This PR introduces the `path!` macro which can be used like ```rust let p: syn::Path = path![::core::ptr::null_mut]; let e: syn::Expr = path![Vec::new]; let t: syn::Type = path![::libc::c_char]; ``` It can...
Closes #9353 changelog: fix docs.rs documentation hyperlinks for proc macros
Also slightly change type inference for if expressions without else block. Previously such expressions were always inferred to `()`. This is right for expression statements, but wrong for nested expressions....
Title. This needs a pass over all current inspections to make sure that those which look like lints are indeed lints, i.e. have a corresponding Clippy/rustc link to documentation and...
The `Project.runWriteCommandAction` method is designed to be used in all user-initiated IDE operations. It requires the name of the executed command and its groupId to be specified explicitly, thus guaranteeing...
This is internal change. I have changed many of the hardcoded user-facing strings in Inspections and Intentions localization-aware, by using RsBundle instead. I plan to push more changes, in the...
* Fix links to Clippy list of lints. * Fix formatting of some code elements in the intention descriptions. * Fix hyperlink to Playground in intention description. changelog: fix formatting...
## Environment * **IntelliJ Rust plugin version:** 0.4.179.4874-222-nightly * **Rust toolchain version:** 1.63.0 (4b91a6ea7 2022-08-08) x86_64-unknown-linux-gnu * **IDE name and version:** CLion 2022.2.2 (CL-222.4167.25) * **Operating system:** Linux 5.4.0-125-generic *...