summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/test-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/test-2.stderr')
-rw-r--r--tests/ui/traits/test-2.stderr3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/traits/test-2.stderr b/tests/ui/traits/test-2.stderr
index 6c0e8b8af..74a0fc427 100644
--- a/tests/ui/traits/test-2.stderr
+++ b/tests/ui/traits/test-2.stderr
@@ -76,8 +76,7 @@ LL | trait bar { fn dup(&self) -> Self; fn blah<X>(&self); }
| this trait cannot be made into an object...
= help: consider moving `dup` to another trait
= help: consider moving `blah` to another trait
- = note: required for `Box<{integer}>` to implement `CoerceUnsized<Box<dyn bar>>`
- = note: required by cast to type `Box<dyn bar>`
+ = note: required for the cast from `Box<{integer}>` to `Box<dyn bar>`
error: aborting due to 5 previous errors