mod items need to be marked with cfg(test) not test.
This commit is contained in:
@@ -797,7 +797,7 @@ fn test_run_basic() {
|
||||
po.recv();
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(test)]
|
||||
struct Wrapper {
|
||||
mut f: Option<Chan<()>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user