Rust-analyzer not recognising a macro, but compiler does

I have this file, with a Cargo.toml dependency section that looks like this:

[dependencies]
image = "0.25.1"
itertools = "0.13.0"

[dev-dependencies]
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"

And this runs and passes when I try cargo test, but rust-analyzer compains on line 23
proc macro qc not expanded: No proc-macros present for crate

I'm quite lost trying to work out what RA's problem is, can anyone help?