summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/member-constraints-in-root-universe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/member-constraints-in-root-universe.rs')
-rw-r--r--tests/ui/traits/new-solver/member-constraints-in-root-universe.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/ui/traits/new-solver/member-constraints-in-root-universe.rs b/tests/ui/traits/new-solver/member-constraints-in-root-universe.rs
deleted file mode 100644
index 97c443058..000000000
--- a/tests/ui/traits/new-solver/member-constraints-in-root-universe.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// compile-flags: -Ztrait-solver=next
-// check-pass
-
-trait Trait {
- type Ty;
-}
-
-impl Trait for for<'a> fn(&'a u8, &'a u8) {
- type Ty = ();
-}
-
-// argument is necessary to create universes before registering the hidden type.
-fn test<'a>(_: <fn(&u8, &u8) as Trait>::Ty) -> impl Sized {
- "hidden type is `&'?0 str` with '?0 member of ['static,]"
-}
-
-fn main() {}