blob: 05b26465c5b0c395ba57e625bde6abb6a5b47161 [file] [log] [blame] [edit]
#![feature(const_trait_impl)]
struct S;
trait T {}
impl ~const T for S {}
//~^ ERROR expected a trait, found type
fn main() {}