// Test for . // //@ run-pass //@ check-run-results trait Supertrait { fn _print_numbers(&self, mem: &[usize; 100]) { println!("{mem:?}"); } } impl Supertrait for () {} trait Trait: Supertrait + Supertrait { fn say_hello(&self, _: &usize) { println!("Hello!"); } } impl Trait for () {} fn main() { (&() as &'static dyn for<'a> Trait<&'static (), &'a ()> as &'static dyn Trait<&'static (), &'static ()>) .say_hello(&0); }