about summary refs log tree commit diff
path: root/tests/ui/chalkify/lower_trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/chalkify/lower_trait.rs')
-rw-r--r--tests/ui/chalkify/lower_trait.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/chalkify/lower_trait.rs b/tests/ui/chalkify/lower_trait.rs
new file mode 100644
index 00000000000..8f5b358220b
--- /dev/null
+++ b/tests/ui/chalkify/lower_trait.rs
@@ -0,0 +1,11 @@
+// check-pass
+// compile-flags: -Z trait-solver=chalk
+
+trait Bar { }
+
+trait Foo<S, T: ?Sized> {
+    type Assoc: Bar + ?Sized;
+}
+
+fn main() {
+}