about summary refs log tree commit diff
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.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/issues/issue-21332.stderr b/tests/ui/issues/issue-21332.stderr
index 7c960f7646d..237b3acc9b4 100644
--- a/tests/ui/issues/issue-21332.stderr
+++ b/tests/ui/issues/issue-21332.stderr
@@ -8,8 +8,9 @@ LL |     fn next(&mut self) -> Result<i32, i32> { Ok(7) }
               found signature `fn(&mut S) -> Result<i32, i32>`
 help: change the output type to match the trait
    |
-LL |     fn next(&mut self) -> Option<i32> { Ok(7) }
-   |                           ~~~~~~~~~~~
+LL -     fn next(&mut self) -> Result<i32, i32> { Ok(7) }
+LL +     fn next(&mut self) -> Option<i32> { Ok(7) }
+   |
 
 error: aborting due to 1 previous error