#![feature(const_trait_impl)]#[const_trait]traitBar{}traitFoo{fna();fnb()whereSelf:~constBar;fnc<T:~constBar>();}fntest1<T:Foo>(){T::a();T::b();//~^ ERROR the trait boundT::c::<T>();//~^ ERROR the trait bound}fntest2<T:Foo+Bar>(){T::a();T::b();T::c::<T>();}fnmain(){}