about summary refs log tree commit diff
path: root/tests/ui/function-pointer
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-14 05:29:55 +0000
committerbors <bors@rust-lang.org>2023-12-14 05:29:55 +0000
commit4a4a8966bd140a0e28d6a26c4e504514f2e7067a (patch)
treec45eac208e30cda04a260493b0b9645faf52d73f /tests/ui/function-pointer
parentfda521a988749458326ecef2e92e979077727a4e (diff)
parent7d4f92a309b67a04bcb5729f0420b21812ea8aef (diff)
downloadrust-4a4a8966bd140a0e28d6a26c4e504514f2e7067a.tar.gz
rust-4a4a8966bd140a0e28d6a26c4e504514f2e7067a.zip
Auto merge of #3224 - rust-lang:rustup-2023-12-14, r=saethlin
Automatic Rustup
Diffstat (limited to 'tests/ui/function-pointer')
-rw-r--r--tests/ui/function-pointer/unsized-ret.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/function-pointer/unsized-ret.stderr b/tests/ui/function-pointer/unsized-ret.stderr
index dcfec53eeb9..66116273ff4 100644
--- a/tests/ui/function-pointer/unsized-ret.stderr
+++ b/tests/ui/function-pointer/unsized-ret.stderr
@@ -19,7 +19,7 @@ LL |     foo::<for<'a> fn(&'a ()) -> (dyn std::fmt::Display + 'a), _>(None, (&()
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
    |
    = help: within `for<'a> fn(&'a ()) -> (dyn std::fmt::Display + 'a)`, the trait `for<'a> Sized` is not implemented for `(dyn std::fmt::Display + 'a)`
-   = note: required because it appears within the type `fn(&()) -> dyn Display`
+   = note: required because it appears within the type `for<'a> fn(&'a ()) -> (dyn std::fmt::Display + 'a)`
 note: required by a bound in `foo`
   --> $DIR/unsized-ret.rs:5:11
    |