summaryrefslogtreecommitdiffstats
path: root/tests/ui/chalkify/lower_env2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/chalkify/lower_env2.rs')
-rw-r--r--tests/ui/chalkify/lower_env2.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/ui/chalkify/lower_env2.rs b/tests/ui/chalkify/lower_env2.rs
deleted file mode 100644
index 7d4f81f12..000000000
--- a/tests/ui/chalkify/lower_env2.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// check-pass
-// compile-flags: -Z trait-solver=chalk
-
-#![allow(dead_code)]
-
-trait Foo { }
-
-struct S<'a, T: ?Sized> where T: Foo {
- data: &'a T,
-}
-
-fn bar<T: Foo>(_x: S<'_, T>) { // note that we have an implicit `T: Sized` bound
-}
-
-fn main() {
-}