summaryrefslogtreecommitdiff
path: root/tests/ui/type/issue-58355.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type/issue-58355.stderr')
-rw-r--r--tests/ui/type/issue-58355.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/type/issue-58355.stderr b/tests/ui/type/issue-58355.stderr
index 6f89a7b0049..67078bcfe89 100644
--- a/tests/ui/type/issue-58355.stderr
+++ b/tests/ui/type/issue-58355.stderr
@@ -6,7 +6,7 @@ LL | x = Some(Box::new(callback));
|
= help: within `fn() -> dyn ToString`, the trait `Sized` is not implemented for `dyn ToString`
= note: required because it appears within the type `fn() -> dyn ToString`
- = note: required for the cast from `fn() -> dyn ToString` to the object type `dyn Fn() -> (dyn ToString + 'static)`
+ = note: required for the cast from `Box<fn() -> dyn ToString>` to `Box<dyn Fn() -> (dyn ToString + 'static)>`
error: aborting due to previous error