summaryrefslogtreecommitdiff
path: root/tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr')
-rw-r--r--tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr b/tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr
index 2fbb5a98a8d..3e164ebf514 100644
--- a/tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr
+++ b/tests/ui/kindck/kindck-inherited-copy-bound.object_safe_for_dispatch.stderr
@@ -32,8 +32,7 @@ LL | trait Foo : Copy {
| --- ^^^^ ...because it requires `Self: Sized`
| |
| this trait cannot be made into an object...
- = note: required for `&Box<i32>` to implement `CoerceUnsized<&dyn Foo>`
- = note: required by cast to type `&dyn Foo`
+ = note: required for the cast from `&Box<i32>` to `&dyn Foo`
error: aborting due to 2 previous errors