Re: [PATCH v2] scripts: generate_rust_analyzer: fix resolution of #[pin_data] macros
From: Miguel Ojeda
Date: Sun Jan 25 2026 - 22:13:54 EST
On Fri, Jan 23, 2026 at 2:19 PM SeungJong Ha via B4 Relay
<devnull+engineer.jjhama.gmail.com@xxxxxxxxxx> wrote:
>
> From: SeungJong Ha <engineer.jjhama@xxxxxxxxx>
>
> Currently, rust-analyzer fails to properly resolve structs annotated with
> `#[pin_data]`. This prevents IDE features like "Go to Definition" from
> working correctly for those structs.
>
> Add the missing configuration to `generate_rust_analyzer.py` to ensure
> the `pin-init` crate macros are handled correctly.
>
> Signed-off-by: SeungJong Ha <engineer.jjhama@xxxxxxxxx>
Applied to `rust-fixes` -- thanks everyone!
Cheers,
Miguel