1 use super::check_types_source_code;
4 fn qualify_path_to_submodule() {
5 check_types_source_code(
12 let foo: foo::Foo = foo::Foo;
21 fn omit_default_type_parameters() {
22 check_types_source_code(
24 struct Foo<T = u8> { t: T }
26 let foo = Foo { t: 5u8 };
32 check_types_source_code(
34 struct Foo<K, T = u8> { k: K, t: T }
36 let foo = Foo { k: 400, t: 5u8 };