blob: 21ddf4ab4e5f4ad2f56ebb176c6c00a666a78266 [file] [log] [blame]
#![feature(const_trait_impl)]
#[const_trait]
trait Bar {}
fn foo<T>() where T: ~const Bar {}
//~^ ERROR `~const` is not allowed
fn main() {}