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
Something which frequently frustrates me with rust-analyzer:
I am editing a Kas widget (to reproduce: clone Kas, pick any widget (but especially a large one; maybe try Spinner), and start typing a new fn with an unclosed brace: {)
rustc can stop compilation when there is an error. rust-analyzer doesn't have this luxury: we must, always, do everything, even with erroneous code. The error marking the whole macro red is bad, though - it'll be better if it would only mark the expected place red, although I'm unsure how viable this is.
Activity
ChayimFriedman2 commentedon May 12, 2025
rustc can stop compilation when there is an error. rust-analyzer doesn't have this luxury: we must, always, do everything, even with erroneous code. The error marking the whole macro red is bad, though - it'll be better if it would only mark the expected place red, although I'm unsure how viable this is.