summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/equality-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generic-associated-types/equality-bound.rs')
-rw-r--r--src/test/ui/generic-associated-types/equality-bound.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/generic-associated-types/equality-bound.rs b/src/test/ui/generic-associated-types/equality-bound.rs
deleted file mode 100644
index fcc2da801..000000000
--- a/src/test/ui/generic-associated-types/equality-bound.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-fn sum<I: Iterator<Item = ()>>(i: I) -> i32 where I::Item = i32 {
-//~^ ERROR equality constraints are not yet supported in `where` clauses
- panic!()
-}
-fn sum2<I: Iterator>(i: I) -> i32 where I::Item = i32 {
-//~^ ERROR equality constraints are not yet supported in `where` clauses
- panic!()
-}
-fn sum3<J: Iterator>(i: J) -> i32 where I::Item = i32 {
-//~^ ERROR equality constraints are not yet supported in `where` clauses
-//~| ERROR failed to resolve: use of undeclared type `I`
- panic!()
-}
-
-fn main() {}