summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/nested-alias-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/nested-alias-bound.rs')
-rw-r--r--tests/ui/traits/new-solver/nested-alias-bound.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/ui/traits/new-solver/nested-alias-bound.rs b/tests/ui/traits/new-solver/nested-alias-bound.rs
deleted file mode 100644
index c365902db..000000000
--- a/tests/ui/traits/new-solver/nested-alias-bound.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-// compile-flags: -Ztrait-solver=next
-// check-pass
-
-trait A {
- type A: B;
-}
-
-trait B {
- type B: C;
-}
-
-trait C {}
-
-fn needs_c<T: C>() {}
-
-fn test<T: A>() {
- needs_c::<<T::A as B>::B>();
-}
-
-fn main() {}