#![feature(const_trait_impl)] const fn maybe_const_maybe() {} //~^ ERROR `~const` and `?` are mutually exclusive fn const_maybe() {} //~^ ERROR `const` and `?` are mutually exclusive const fn maybe_const_negative() {} //~^ ERROR `~const` and `!` are mutually exclusive //~| ERROR negative bounds are not supported fn const_negative() {} //~^ ERROR `const` and `!` are mutually exclusive //~| ERROR negative bounds are not supported #[const_trait] trait Trait {} fn main() {}