1 #![warn(clippy::all, clippy::similar_names)]
2 #![allow(unused, clippy::println_empty_string)]
54 (cheese2, 2) => panic!(),
78 let Foo { apple, bpple } = unimplemented!();
85 #[derive(Clone, Debug)]
98 let filled = match *self {
99 MaybeInst::Split1(goto1) => panic!(1),
100 MaybeInst::Split2(goto2) => panic!(2),
101 _ => unimplemented!(),
109 let (b, c, d): (i32, i64, i16);
133 fn underscores_and_numbers() {
134 let _1 = 1; //~ERROR Consider a more descriptive name
135 let ____1 = 1; //~ERROR Consider a more descriptive name
136 let __1___2 = 12; //~ERROR Consider a more descriptive name
163 // false positive similar_names (#3057, #2651)
164 // clippy claimed total_reg_src_size and total_size and
165 // numb_reg_src_checkouts and total_bin_size were similar
166 #[derive(Debug, Clone)]
167 pub(crate) struct DirSizes {
168 pub(crate) total_size: u64,
169 pub(crate) numb_bins: u64,
170 pub(crate) total_bin_size: u64,
171 pub(crate) total_reg_size: u64,
172 pub(crate) total_git_db_size: u64,
173 pub(crate) total_git_repos_bare_size: u64,
174 pub(crate) numb_git_repos_bare_repos: u64,
175 pub(crate) numb_git_checkouts: u64,
176 pub(crate) total_git_chk_size: u64,
177 pub(crate) total_reg_cache_size: u64,
178 pub(crate) total_reg_src_size: u64,
179 pub(crate) numb_reg_cache_entries: u64,
180 pub(crate) numb_reg_src_checkouts: u64,