about summary refs log tree commit diff
path: root/tests/ui/diagnostic-width
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-05-11 02:10:56 +0000
committerMichael Goulet <michael@errs.io>2023-05-12 00:10:52 +0000
commit14bf909e71209fc946f35ffba8ae6572c9575715 (patch)
tree7e74098b379efd7a09f59b8e17f6c820d7202c16 /tests/ui/diagnostic-width
parent2a8221dbdfd180a2d56d4b0089f4f3952d8c2bcd (diff)
downloadrust-14bf909e71209fc946f35ffba8ae6572c9575715.tar.gz
rust-14bf909e71209fc946f35ffba8ae6572c9575715.zip
Note base types of coercion
Diffstat (limited to 'tests/ui/diagnostic-width')
-rw-r--r--tests/ui/diagnostic-width/E0271.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/diagnostic-width/E0271.stderr b/tests/ui/diagnostic-width/E0271.stderr
index ed7b6651d01..52f415037d3 100644
--- a/tests/ui/diagnostic-width/E0271.stderr
+++ b/tests/ui/diagnostic-width/E0271.stderr
@@ -15,8 +15,8 @@ note: expected this to be `Foo`
    |
 LL |     type Error = E;
    |                  ^
-   = note: required for the cast from `Result<Result<..., ...>, ...>` to the object type `dyn Future<Error = Foo>`
-   = note: the full name for the casted type has been written to '$TEST_BUILD_DIR/diagnostic-width/E0271/E0271.long-type-hash.txt'
+   = note: required for the cast from `Box<Result<..., ...>>` to `Box<(dyn Future<Error = Foo> + 'static)>`
+   = note: the full name for the source type has been written to '$TEST_BUILD_DIR/diagnostic-width/E0271/E0271.long-type-hash.txt'
 
 error: aborting due to previous error