2 // Test that static methods can be invoked on `type` aliases
4 #![allow(unused_variables)]
20 type Ham = foo::bar::baz::Qux;
21 let foo = foo::bar::baz::Qux::new(); // invoke directly
22 let bar = Ham::new(); // invoke via type alias
24 type StringVec = Vec<String>;
25 let sv = StringVec::new();