-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Error:
second test attribute is supplied, consider removing or changing the order of your test attributes
cargo check --all-features --all-targets does not reproduce this error. (I have RA set to use --all-features, too.)
Persists through windows reloads. Only observed in files for which I have a tab open.
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.2702-standalone (d646b23 2025-11-30) [/Users/djc/.vscode/extensions/rust-lang.rust-analyzer-0.3.2702-darwin-arm64/server/rust-analyzer]
rustc version: rustc 1.90.0 (1159e78c4 2025-09-14)
editor or extension: VS Code, 0.3.2702
repository link (if public, optional): https://github.com/hickory-dns/hickory-dns/blob/main/tests/integration-tests/tests/integration/client_tests.rs#L475, previously also seen in other modules in the same repo (but different crate).
code snippet to reproduce:
Not a full reproduction, just an indication:
#[cfg(all(feature = "__dnssec", feature = "sqlite"))]
#[tokio::test]
async fn test_create() {
..
}