Closed kzhui125 closed 1 month ago
CC #9803.
I get this too. cargo
/rustc
does respect the allow, so this is a rust-analyzer bug
rust-analyzer version: 0.3.2104-standalone (08c7bbc2d 2024-09-06)
Oh this should be fixed now with my rewrite of lint handling (https://github.com/rust-lang/rust-analyzer/pull/18099).
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rustc version:
rust-analyzer version: 0.3.2070-standalone (0daeb5c0b 2024-08-10)
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
editor or extension:
VSCode 1.92.1
code snippet to reproduce:
src/lib.rs
src/t1.rs