diff options
| author | bors <bors@rust-lang.org> | 2023-12-14 05:29:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-14 05:29:55 +0000 |
| commit | 4a4a8966bd140a0e28d6a26c4e504514f2e7067a (patch) | |
| tree | c45eac208e30cda04a260493b0b9645faf52d73f /tests/ui/function-pointer | |
| parent | fda521a988749458326ecef2e92e979077727a4e (diff) | |
| parent | 7d4f92a309b67a04bcb5729f0420b21812ea8aef (diff) | |
| download | rust-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.stderr | 2 |
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 | |
