summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-21332.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-21332.stderr')
-rw-r--r--tests/ui/issues/issue-21332.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-21332.stderr b/tests/ui/issues/issue-21332.stderr
index 0e1beebf2..825492880 100644
--- a/tests/ui/issues/issue-21332.stderr
+++ b/tests/ui/issues/issue-21332.stderr
@@ -4,7 +4,7 @@ error[E0053]: method `next` has an incompatible type for trait
LL | fn next(&mut self) -> Result<i32, i32> { Ok(7) }
| ^^^^^^^^^^^^^^^^
| |
- | expected enum `Option`, found enum `Result`
+ | expected `Option<i32>`, found `Result<i32, i32>`
| help: change the output type to match the trait: `Option<i32>`
|
= note: expected signature `fn(&mut S) -> Option<i32>`