1 #![feature(type_alias_impl_trait)]
3 #![deny(improper_ctypes)]
21 type Assoc = <T as TraitA>::Assoc;
24 type AliasA = impl TraitA<Assoc = u32>;
26 type AliasB = impl TraitB;
28 fn use_of_a() -> AliasA {
32 fn use_of_b() -> AliasB {
37 fn lint_me() -> <AliasB as TraitB>::Assoc;
38 //~^ ERROR `extern` block uses type `AliasB`, which is not FFI-safe