summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-103181-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/issue-103181-2.rs')
-rw-r--r--tests/ui/impl-trait/issue-103181-2.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-103181-2.rs b/tests/ui/impl-trait/issue-103181-2.rs
index b43ac4507..34deb98be 100644
--- a/tests/ui/impl-trait/issue-103181-2.rs
+++ b/tests/ui/impl-trait/issue-103181-2.rs
@@ -24,6 +24,8 @@ where
B: Send, // <- a second bound
{
normalize(broken_fut(), ());
+ //~^ ERROR: cannot check whether the hidden type of opaque type satisfies auto traits
+ //~| ERROR: cannot check whether the hidden type of opaque type satisfies auto traits
}
fn main() {}