summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/deduce-ty-from-object.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/deduce-ty-from-object.rs')
-rw-r--r--tests/ui/traits/new-solver/deduce-ty-from-object.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/traits/new-solver/deduce-ty-from-object.rs b/tests/ui/traits/new-solver/deduce-ty-from-object.rs
deleted file mode 100644
index 7398bce7b..000000000
--- a/tests/ui/traits/new-solver/deduce-ty-from-object.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-// check-pass
-// compile-flags: -Ztrait-solver=next
-
-fn main() {
- let x: Box<dyn Iterator<Item = ()>> = Box::new(std::iter::empty());
-}