1 #![feature(tool_lints)]
3 #![warn(clippy::all,clippy::similar_names)]
4 #![allow(unused, clippy::println_empty_string)]
59 (cheese2, 2) => panic!(),
84 let Foo { apple, bpple } = unimplemented!();
85 let Foo { apple: spring,
86 bpple: sprang } = unimplemented!();
89 #[derive(Clone, Debug)]
102 let filled = match *self {
103 MaybeInst::Split1(goto1) => panic!(1),
104 MaybeInst::Split2(goto2) => panic!(2),
105 _ => unimplemented!(),
113 let (b, c, d): (i32, i64, i16);
138 fn underscores_and_numbers() {
139 let _1 = 1; //~ERROR Consider a more descriptive name
140 let ____1 = 1; //~ERROR Consider a more descriptive name
141 let __1___2 = 12; //~ERROR Consider a more descriptive name
168 // false positive similar_names (#3057, #2651)
169 // clippy claimed total_reg_src_size and total_size and
170 // numb_reg_src_checkouts and total_bin_size were similar
171 #[derive(Debug, Clone)]
172 pub(crate) struct DirSizes {
173 pub(crate) total_size: u64,
174 pub(crate) numb_bins: u64,
175 pub(crate) total_bin_size: u64,
176 pub(crate) total_reg_size: u64,
177 pub(crate) total_git_db_size: u64,
178 pub(crate) total_git_repos_bare_size: u64,
179 pub(crate) numb_git_repos_bare_repos: u64,
180 pub(crate) numb_git_checkouts: u64,
181 pub(crate) total_git_chk_size: u64,
182 pub(crate) total_reg_cache_size: u64,
183 pub(crate) total_reg_src_size: u64,
184 pub(crate) numb_reg_cache_entries: u64,
185 pub(crate) numb_reg_src_checkouts: u64,