Merge pull request #3149 from matthiaskrgr/test_3075

add tests for #3057.
This commit is contained in:
mikerite 2018-09-09 07:15:39 +02:00 committed by GitHub
commit 055b5eb31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -164,3 +164,23 @@ impl Bar {
let _1_ok= 1;
}
}
// false positive similar_names (#3057, #2651)
// clippy claimed total_reg_src_size and total_size and
// numb_reg_src_checkouts and total_bin_size were similar
#[derive(Debug, Clone)]
pub(crate) struct DirSizes {
pub(crate) total_size: u64,
pub(crate) numb_bins: u64,
pub(crate) total_bin_size: u64,
pub(crate) total_reg_size: u64,
pub(crate) total_git_db_size: u64,
pub(crate) total_git_repos_bare_size: u64,
pub(crate) numb_git_repos_bare_repos: u64,
pub(crate) numb_git_checkouts: u64,
pub(crate) total_git_chk_size: u64,
pub(crate) total_reg_cache_size: u64,
pub(crate) total_reg_src_size: u64,
pub(crate) numb_reg_cache_entries: u64,
pub(crate) numb_reg_src_checkouts: u64,
}