Closed Meigumikato closed 1 year ago
same problem rust-analyzer version: 2023-01-02
code snippet
#[derive(Debug)]
enum Color {
Black,
Blue,
Brown,
}
#[derive(Debug)]
struct ShoesColor(Color);
impl ShoesColor {
fn new(c: Color) -> Self {
Self(c)
}
}
fn main() {
let shoes = ShoesColor::new(Color::Red); // <- **edit on this line after will trigger this bug**
}
Duplicate of #300 Fixed in #307.
You might want to use the fork for now, as it doesn't look like the PR is going to be merged very soon.
-- use 'simrat39/rust-tools.nvim'
use 'kdarkhan/rust-tools.nvim'
I'll second that the #307 PR fixes the problem.
thanks
@FrankReh I have replaced the plugin in my config with the fork from kdarkhan and it works good for me :)
is this repository still maintained?
system: macOS 13.1 neovim: NVIM v0.8.2