summaryrefslogtreecommitdiff
path: root/tests/ui/object-safety/issue-19538.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/object-safety/issue-19538.stderr')
-rw-r--r--tests/ui/object-safety/issue-19538.stderr3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/object-safety/issue-19538.stderr b/tests/ui/object-safety/issue-19538.stderr
index 8420637b3de..183245b2322 100644
--- a/tests/ui/object-safety/issue-19538.stderr
+++ b/tests/ui/object-safety/issue-19538.stderr
@@ -29,8 +29,7 @@ LL | fn foo<T>(&self, val: T);
LL | trait Bar: Foo { }
| --- this trait cannot be made into an object...
= help: consider moving `foo` to another trait
- = note: required for `&mut Thing` to implement `CoerceUnsized<&mut dyn Bar>`
- = note: required by cast to type `&mut dyn Bar`
+ = note: required for the cast from `&mut Thing` to `&mut dyn Bar`
error: aborting due to 2 previous errors