blob: b746ca63590ec80c2734ca8d81f0b7e55598b2dd [file] [log] [blame]
#![feature(specialization)]
trait SpaceLlama {
fn fly(&self);
}
impl<T> SpaceLlama for T {
default fn fly(&self) {}
}
impl<T: Clone> SpaceLlama for T {
fn fly(&self) {}
}
impl SpaceLlama for i32 {
default fn fly(&self) {}
//~^ ERROR E0520
}
fn main() {
}