1 #![feature(const_trait_impl)]
2 #![allow(incomplete_features)]
6 const impl Foo for i32 {} //~ ERROR: expected identifier, found keyword
10 const impl<T: Foo> Bar for T {} //~ ERROR: expected identifier, found keyword
12 const fn still_implements<T: Bar>() {}
14 const _: () = still_implements::<i32>();