1 #![warn(clippy::unit_arg)]
2 #![allow(clippy::no_effect, unused_must_use, unused_variables)]
6 fn foo<T: Debug>(t: T) {
10 fn foo3<T1: Debug, T2: Debug, T3: Debug>(t1: T1, t2: T2, t3: T3) {
11 println!("{:?}, {:?}, {:?}", t1, t2, t3);
17 taking_two_units({}, foo(0));
18 taking_three_units({}, foo(0), foo(1));
21 fn taking_two_units(a: (), b: ()) {}
22 fn taking_three_units(a: (), b: (), c: ()) {}