1 #![feature(extern_types)]
2 // revisions: min_tait full_tait
3 #![feature(min_type_alias_impl_trait)]
4 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 //[full_tait]~^ WARN incomplete
7 #![warn(unused_attributes)]
10 #[inline] //~ WARN `#[inline]` is ignored on constants
11 //~^ WARN this was previously accepted
14 #[inline] //~ ERROR attribute should be applied to function or closure
21 #[inline] //~ WARN `#[inline]` is ignored on constants
22 //~^ WARN this was previously accepted
25 #[inline] //~ ERROR attribute should be applied to function or closure
28 #[inline] //~ ERROR attribute should be applied to function or closure
29 type U = impl Trait; //~ ERROR could not find defining uses
33 #[inline] //~ ERROR attribute should be applied to function or closure
36 #[inline] //~ ERROR attribute should be applied to function or closure