-
Couldn't load subscription status.
- Fork 1.9k
Open
Labels
A-cargocargo related issuescargo related issuesA-diagnosticsdiagnostics / error reportingdiagnostics / error reportingA-flycheckissues with flycheck a.k.a. "check on save"issues with flycheck a.k.a. "check on save"C-bugCategory: bugCategory: bug
Description
rust-analyzer version: 2024-07-22
rustc version: rustc 1.82.0-nightly (8bfcae7 2024-07-23)
editor or extension: Neovim
code snippet to reproduce:
#![warn(clippy::pedantic)]
#[expect(clippy::enum_glob_use)]
use std::cmp::Ordering::*;
fn main() {
print!("{Equal:?}");
}This code is just fine with cargo check or cargo clippy, but rust-analyzer emits an unfulfilled_lint_expectations warning, even though the clippy::enum_glob_use lint is triggered if the expect attribute is commented out
Victor-N-Suadicani
Metadata
Metadata
Assignees
Labels
A-cargocargo related issuescargo related issuesA-diagnosticsdiagnostics / error reportingdiagnostics / error reportingA-flycheckissues with flycheck a.k.a. "check on save"issues with flycheck a.k.a. "check on save"C-bugCategory: bugCategory: bug