Re: [PATCH 2/2] rust: quote: make rust-analyzer treat `core` and `std` as dependencies

From: Tamir Duberstein

Date: Fri Jan 09 2026 - 17:18:15 EST


On Fri, Jan 9, 2026 at 4:47 PM Jesung Yang <y.j3ms.n@xxxxxxxxx> wrote:
>
> On Tue, Jan 6, 2026 at 12:30 AM Jesung Yang <y.j3ms.n@xxxxxxxxx> wrote:
> >
> > I think applying this series as-is and revisiting the `std` removal
> > when we eventually upgrade `syn` (so that the PR effectively lands in
> > our vendored `syn`) is also an option. If there's no upcoming upgrade
> > planned for the near future, I would personally prefer this approach.
>
> Ok, [1] has been merged to the upstream...
>
> I don't have a strong opinion, but I still think it is more natural to
> drop the `std` dependency when we actually bump our vendored `syn` to a
> version that includes the merged changes.
>
> Miguel, Tamir, what do you think?
>
> [1] https://github.com/dtolnay/quote/pull/318
>
> Best regards,
> Jesung

We have to keep the std dep -- see
https://github.com/dtolnay/quote/commit/009af09c8252bf687e7f49e281fc47bc7d3c0749.