diff options
Diffstat (limited to 'src/test/ui/wf/wf-in-fn-where-clause.rs')
-rw-r--r-- | src/test/ui/wf/wf-in-fn-where-clause.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/wf/wf-in-fn-where-clause.rs b/src/test/ui/wf/wf-in-fn-where-clause.rs deleted file mode 100644 index e55295a3b..000000000 --- a/src/test/ui/wf/wf-in-fn-where-clause.rs +++ /dev/null @@ -1,15 +0,0 @@ -// Check that we enforce WF conditions also for where clauses in fn items. - - -#![allow(dead_code)] - -trait MustBeCopy<T:Copy> { -} - -fn bar<T,U>() - where T: MustBeCopy<U> //~ ERROR E0277 -{ -} - - -fn main() { } |