diff options
Diffstat (limited to 'src/test/ui/error-codes/E0520.rs')
-rw-r--r-- | src/test/ui/error-codes/E0520.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/ui/error-codes/E0520.rs b/src/test/ui/error-codes/E0520.rs deleted file mode 100644 index ead78b7ff..000000000 --- a/src/test/ui/error-codes/E0520.rs +++ /dev/null @@ -1,22 +0,0 @@ -#![feature(specialization)] -//~^ WARN the feature `specialization` is incomplete - -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() { -} |