-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
span misidentified within format! on "consider removing this semicolon" #13428
Comments
The note message was introduced in #11482. It doesn't seem to handle this situation properly. |
edwardw
added a commit
to edwardw/rust
that referenced
this issue
Apr 18, 2014
When reporting "consider removing this semicolon" hint message, the offending semicolon may come from macro call site instead of macro itself. Using the more appropriate span makes the hint more helpful. Closes rust-lang#13428.
bors
added a commit
that referenced
this issue
Apr 22, 2014
When reporting "consider removing this semicolon" hint message, the offending semicolon may come from macro call site instead of macro itself. Using the more appropriate span makes the hint more helpful. Closes #13428.
compiler-errors
pushed a commit
to compiler-errors/rust
that referenced
this issue
Oct 26, 2022
fix: Fix formatting requests hanging when r-a is still starting The reason for that was that we were calculating the crate defmaps of the file we are saving by accident causing us to get stuck waiting on their expensive computation, while we only need the relevant crate id. Closes rust-lang/rust-analyzer#4054 Closes rust-lang/rust-analyzer#11654
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code:
Compilation attempt:
It should be pointing at the semi-colon on the next line, not the comma on this line.
The text was updated successfully, but these errors were encountered: