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.
#[expect(non_snake_case)]
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
rust-analyzer version: rust-analyzer 1.83.0-nightly (4ac7bcb 2024-09-04)
rustc version: rustc 1.83.0-nightly (4ac7bcbaa 2024-09-04)
editor or extension: Neovim v0.10.1
relevant settings: RUSTUP_HOME=~/.local/share/rustup, CARGO_HOME=~/.local/share/cargo
RUSTUP_HOME=~/.local/share/rustup
CARGO_HOME=~/.local/share/cargo
code snippet to reproduce:
#[expect(non_snake_case)] fn main() { let _FOO = 0; }
I don't think this is #6541, because replacing expect with allow silences the warning.
expect
allow
expect correctly silences the warning given on saving the file, but does not silence the on-the-fly diagnostics.
The text was updated successfully, but these errors were encountered:
fd243cd
#[expect]
Successfully merging a pull request may close this issue.
rust-analyzer version: rust-analyzer 1.83.0-nightly (4ac7bcb 2024-09-04)
rustc version: rustc 1.83.0-nightly (4ac7bcbaa 2024-09-04)
editor or extension: Neovim v0.10.1
relevant settings:
RUSTUP_HOME=~/.local/share/rustup
,CARGO_HOME=~/.local/share/cargo
code snippet to reproduce:
I don't think this is #6541, because replacing
expect
withallow
silences the warning.expect
correctly silences the warning given on saving the file, but does not silence the on-the-fly diagnostics.The text was updated successfully, but these errors were encountered: