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