diff options
Diffstat (limited to 'src/test/ui/wf/wf-trait-bound.rs')
-rw-r--r-- | src/test/ui/wf/wf-trait-bound.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/wf/wf-trait-bound.rs b/src/test/ui/wf/wf-trait-bound.rs deleted file mode 100644 index 62a1eb5b0..000000000 --- a/src/test/ui/wf/wf-trait-bound.rs +++ /dev/null @@ -1,15 +0,0 @@ -// Test that we check supertrait bounds for WFedness. - -#![feature(associated_type_defaults)] - -#![allow(dead_code)] - -trait ExtraCopy<T:Copy> { } - -trait SomeTrait<T,U> - where T: ExtraCopy<U> //~ ERROR E0277 -{ -} - - -fn main() { } |