diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2023-12-14 05:02:50 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2023-12-14 05:02:50 +0000 |
| commit | 7d4f92a309b67a04bcb5729f0420b21812ea8aef (patch) | |
| tree | c45eac208e30cda04a260493b0b9645faf52d73f /tests/ui/function-pointer | |
| parent | 205fbf42569b3cd17e2cfe1f88f479deba5a9d3a (diff) | |
| parent | e6d1b0ec9859e6f5c29aaa3b6525fb625bf354ad (diff) | |
| download | rust-7d4f92a309b67a04bcb5729f0420b21812ea8aef.tar.gz rust-7d4f92a309b67a04bcb5729f0420b21812ea8aef.zip | |
Merge from rustc
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 | |
