1 // revisions: min_tait full_tait
2 #![feature(min_type_alias_impl_trait)]
3 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
4 //[full_tait]~^ WARN incomplete
5 #![deny(improper_ctypes)]
24 pub struct A<T: Foo> {
25 x: &'static <T as Foo>::Assoc,
29 pub fn lint_me() -> A<()>; //~ ERROR: uses type `impl Baz`