blob: fc3a83876c5bbf512910d747802504840aaa93ac [file] [log] [blame]
// known-bug: #110395
#![feature(const_trait_impl, effects)]
pub trait A {}
// FIXME ~^ HELP: mark `A` as const
impl const A for () {}
// FIXME ~^ ERROR: const `impl` for trait `A` which is not marked with `#[const_trait]`
fn main() {}