about summary refs log tree commit diff
path: root/tests/crashes/137049.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/crashes/137049.rs')
-rw-r--r--tests/crashes/137049.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/crashes/137049.rs b/tests/crashes/137049.rs
index a7132e4fa17..3dbbf280733 100644
--- a/tests/crashes/137049.rs
+++ b/tests/crashes/137049.rs
@@ -22,6 +22,7 @@ impl<T: Project1<Assoc1 = ()>> Project2 for PhantomData<T> {
 
 type Alias<T> = impl Project2;
 
+#[define_opaque(Alias)]
 fn constrain<T>() -> Alias<T> {
     PhantomData::<T>
 }