We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
enum a { B = 0, /** hello */ C, /** world */ D /** ! */ } fn main() { }
$ rustc enum.rs enum.rs:4:5: 4:13 error: expected `}`, found `/** ! */` enum.rs:4 D /** ! */ ^~~~~~~~
Not a big issue, but still a bit annoying. If I remove the last code blocks, it compiles fine.
The text was updated successfully, but these errors were encountered:
The doc blocks have to go before the enum variants, not after them.
enum a { /** hello */ B = 0, /** world */ C, /** ! */ D }
Sorry, something went wrong.
Yes, this is currently expected behavior.
Auto merge of rust-lang#17411 - Wilfred:clearer_unlinked_file, r=Veykril
f9a337c
fix: Improve hover text in unlinked file diagnostics Use full sentences, and mention how to disable the diagnostic if users are intentionally working on unowned files.  (Full disclosure: I've tested a rust-analyzer build in VS Code, but the pop-up logic is currently disabled due to rust-lang#17062, so I haven't tested that.)
No branches or pull requests
Not a big issue, but still a bit annoying. If I remove the last code blocks, it compiles fine.
The text was updated successfully, but these errors were encountered: