Open
Description
rust-analyzer version: 2024-07-22
rustc version: rustc 1.82.0-nightly (8bfcae730 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