summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-38604.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/issue-38604.stderr')
-rw-r--r--src/test/ui/traits/issue-38604.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/traits/issue-38604.stderr b/src/test/ui/traits/issue-38604.stderr
index d41488c15..50d6fb054 100644
--- a/src/test/ui/traits/issue-38604.stderr
+++ b/src/test/ui/traits/issue-38604.stderr
@@ -25,7 +25,7 @@ LL | trait Foo where u32: Q<Self> {
| --- ^^^^^^^ ...because it uses `Self` as a type parameter
| |
| this trait cannot be made into an object...
- = note: required because of the requirements on the impl of `CoerceUnsized<Box<dyn Foo>>` for `Box<()>`
+ = note: required for `Box<()>` to implement `CoerceUnsized<Box<dyn Foo>>`
= note: required by cast to type `Box<dyn Foo>`
error: aborting due to 2 previous errors