about summary refs log tree commit diff
path: root/tests/ui/impl-trait/two_tait_defining_each_other.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/two_tait_defining_each_other.rs')
-rw-r--r--tests/ui/impl-trait/two_tait_defining_each_other.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/two_tait_defining_each_other.rs b/tests/ui/impl-trait/two_tait_defining_each_other.rs
index ebfe7f674be..d3038688eee 100644
--- a/tests/ui/impl-trait/two_tait_defining_each_other.rs
+++ b/tests/ui/impl-trait/two_tait_defining_each_other.rs
@@ -10,6 +10,7 @@ type B = impl Foo;
 
 trait Foo {}
 
+#[define_opaque(A, B)]
 fn muh(x: A) -> B {
     if false {
         return Bar; // B's hidden type is Bar