summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7092.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-7092.rs')
-rw-r--r--tests/ui/issues/issue-7092.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-7092.rs b/tests/ui/issues/issue-7092.rs
index 85bfbf90d..c3c96c7d3 100644
--- a/tests/ui/issues/issue-7092.rs
+++ b/tests/ui/issues/issue-7092.rs
@@ -5,7 +5,7 @@ fn foo(x: Whatever) {
match x {
Some(field) =>
//~^ ERROR mismatched types
-//~| expected enum `Whatever`, found enum `Option`
+//~| expected `Whatever`, found `Option<_>`
//~| expected enum `Whatever`
//~| found enum `Option<_>`
field.access(),