rust-analyzer icon indicating copy to clipboard operation
rust-analyzer copied to clipboard

Code actions degradated in last versions

Open vikulikov opened this issue 2 years ago • 2 comments

image

There is no button to fill enum variants. But it appears under some circumstances but I cannot realize which. In this example cursor was inside the parenthesis.

If cursor is above the enum's variable name button appears. But it is not always the case image

rust-analyzer version: 0.3.1212-standalone (187bee0bb 2022-09-19)

rustc 1.63.0 (4b91a6ea7 2022-08-08)

vikulikov avatar Sep 22 '22 14:09 vikulikov

What type does that variable have? Try to hover on it.

lnicola avatar Sep 22 '22 14:09 lnicola

image image

vikulikov avatar Sep 22 '22 14:09 vikulikov

The problem occures in a trait implemention under the async_trait macro. I believe this is not a rust_analyzer issue that is why closing it.

vikulikov avatar Jan 02 '23 14:01 vikulikov