Remove unused fields in some structures
The dead_code lint was previously eroneously missing those. Since this lint bug has been fixed, the unused fields need to be removed.
This commit is contained in:
parent
a0fe4138ed
commit
ccd99b384e
10 changed files with 16 additions and 34 deletions
|
@ -46,7 +46,6 @@ pub struct ConsoleTestDiscoveryState {
|
|||
pub tests: usize,
|
||||
pub benchmarks: usize,
|
||||
pub ignored: usize,
|
||||
pub options: Options,
|
||||
}
|
||||
|
||||
impl ConsoleTestDiscoveryState {
|
||||
|
@ -56,13 +55,7 @@ impl ConsoleTestDiscoveryState {
|
|||
None => None,
|
||||
};
|
||||
|
||||
Ok(ConsoleTestDiscoveryState {
|
||||
log_out,
|
||||
tests: 0,
|
||||
benchmarks: 0,
|
||||
ignored: 0,
|
||||
options: opts.options,
|
||||
})
|
||||
Ok(ConsoleTestDiscoveryState { log_out, tests: 0, benchmarks: 0, ignored: 0 })
|
||||
}
|
||||
|
||||
pub fn write_log<F, S>(&mut self, msg: F) -> io::Result<()>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue