-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ability to disable the new "proc-macro is explicitly disabled" hint specifically #18414
Comments
Cross-posting my comment in the PR:
|
The kind seems to be |
Oh you are using the rustup component, no in that case the PR is not in there yet. The rustup version lags 6-12 weeks behind master |
Ohh got it, thanks a lot! Then it should be fixed with 1.84 I hope, got it! :) |
I just updated to the latest RA version and am now getting these hints:
Which is because I told it not to expand
instrument
andserver
macros. Since they just wrap the code, this allows RA to treat them as no-op and it helps with completion inside them, performance etc.I'm fine with this hint existing, but I personally don't want it because it I use this in a lot of places and it creates a lot of noise. Unfortunately the only way I've found to disable it is to disable the
macro-error
diagnostic which seems overly broad and I'm afraid I'll miss other important macro errors.There should probably be a way to disable that hint specifically. I'm open to other solutions too though, e.g. if there's a way to disable just hints for macro-error.
The text was updated successfully, but these errors were encountered: