rust-analyzer: vscode freezes when trying to apply clippy suggestion
code
fn main() {
let x = 1;
let b = 3;
if x == b {
if b == x {
println!("y");
}
}
}
when trying to apply the clippy::collapsible_if fix hint via the rla plugin, vscode freezes with 100% cpu load.
rla @ 5fd9a5be0984faa138281e46dd4b73cfdad073b1 code
1.37.1
f06011ac164ae4dc8e753a3fe7f9549844d15e35
x64
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (19 by maintainers)
It works just fine for me. Clippy called the suggestion
trythough:Edit: opened https://github.com/rust-lang/rust-clippy/pull/5732
No, I’m updating ra almost daily.
using
cargo xtask installunless something changed about the installation procedure…?