2 #![allow(unused, clippy::println_empty_string)]
4 #[derive(Clone, Debug)]
17 let filled = match *self {
18 MaybeInst::Split1(goto1) => panic!(1),
19 MaybeInst::Split2(goto2) => panic!(2),
20 _ => unimplemented!(),
28 let (b, c, d): (i32, i64, i16);
52 fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
55 let (a, b, c, d, e, f, g, h) = unimplemented!();
80 // These should not trigger a warning, since the pattern bindings are a new scope.
91 fn underscores_and_numbers() {
92 let _1 = 1; //~ERROR Consider a more descriptive name
93 let ____1 = 1; //~ERROR Consider a more descriptive name
94 let __1___2 = 12; //~ERROR Consider a more descriptive name