You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That macro invocation is for some reason creating format ! (Field name is required for generating '{}' helper. , helper_kind . to_string ())) in its output which has an invalid character literal in it (we shouldnt panic either way, but something else is going wrong in there)
fix: Fix TokenStream::to_string implementation dropping quotation marks
Fixes#17986
We might wanna consider backporting this to beta if that's simple enough to do
…, r=Veykril
fix: Fix TokenStream::to_string implementation dropping quotation marks
Fixesrust-lang/rust-analyzer#17986
We might wanna consider backporting this to beta if that's simple enough to do
rust-analyzer version: rust-analyzer version: 0.3.2089-standalone (0f7f68d 2024-08-27)
rustc version: rustc 1.82.0-nightly (6de928dce 2024-08-18), though the error is there with stable too
editor or extension: VSCode
repository link (if public, optional): vrurg/fieldx
code snippet to reproduce: https://github.com/vrurg/fieldx
Straight to the output of the language server:
The problem pops up when the
enum_dispatch
crate is used in a proc_macro crate. For example, the entire trait is permanently marked as erroneous.The problem looks like a regression to me as it hadn't been observed until some moment in time a month or two ago.
The text was updated successfully, but these errors were encountered: