summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/canonicalize-effect-var.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/canonicalize-effect-var.rs')
-rw-r--r--tests/ui/traits/new-solver/canonicalize-effect-var.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/ui/traits/new-solver/canonicalize-effect-var.rs b/tests/ui/traits/new-solver/canonicalize-effect-var.rs
deleted file mode 100644
index 35b69ed1a..000000000
--- a/tests/ui/traits/new-solver/canonicalize-effect-var.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-// compile-flags: -Ztrait-solver=next
-// check-pass
-
-#![feature(effects)]
-#![feature(const_trait_impl)]
-
-#[const_trait]
-trait Foo {
- fn foo();
-}
-
-trait Bar {}
-
-impl const Foo for i32 {
- fn foo() {}
-}
-
-impl<T> const Foo for T where T: Bar {
- fn foo() {}
-}
-
-fn main() {}