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