Description
Hi,
I'm using Faux for mocking my components.
If my component impl block is marked with Faux macros, I don't get completions inside it.
rust-analyzer version: 0.3.2466-standalone
rustc version: rustc 1.86.0 (05f9846f8 2025-03-31)
editor or extension: Zed (0.187.8), VSCode (RA 0.3.2466)
code snippet to reproduce:
struct ComponentA;
impl ComponentA {
pub fn do_something(&self) {}
}
#[cfg_attr(test, faux::create)]
pub struct ComponentB {
a: ComponentA,
}
#[cfg_attr(test, faux::methods)]
impl ComponentB {
pub fn do_something(&self) {
self.a.do_something(); // no completion here
}
}