Re: [PATCH] rust: pin_init_internal: fix rust-analyzer `mod quote`

From: Alice Ryhl
Date: Thu Mar 20 2025 - 03:47:04 EST


On Wed, Mar 19, 2025 at 09:35:40PM -0400, Tamir Duberstein wrote:
> Replace the `#[path]` attribute with a symlink to work around a
> limitation in rust-analyzer that requires all modules to belong to the
> same "source root". This allows code navigation from `pin_init_internal`
> to `quote` to work properly.
>
> Link: https://github.com/rust-lang/rust-analyzer/issues/3898
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>

Are we allowed to have symlinks?

Alice