// crate a
pub struct S;
impl S {
#[cfg(test)]
fn test();
}
// crate b
#[test]
fn test() {
let s = a::S;
s.test();
}
No, sorry. You will need to use crate features instead.
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.