diff options
| author | bors <bors@rust-lang.org> | 2023-01-03 13:50:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-03 13:50:22 +0000 |
| commit | e1968dd6120935055e138ab10c6e0a3f3f2288b9 (patch) | |
| tree | ba3fe5528a05e3125c20931e1c5f1fac21eeeb6d /src/test/ui/function-pointer | |
| parent | 1010099fe359e4a01ebd873e3bdb2d66b60bc3ed (diff) | |
| parent | 794cc0854a36f445307f8010a0ad8698da0bf5ed (diff) | |
| download | rust-e1968dd6120935055e138ab10c6e0a3f3f2288b9.tar.gz rust-e1968dd6120935055e138ab10c6e0a3f3f2288b9.zip | |
Auto merge of #2747 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'src/test/ui/function-pointer')
| -rw-r--r-- | src/test/ui/function-pointer/unsized-ret.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/function-pointer/unsized-ret.stderr b/src/test/ui/function-pointer/unsized-ret.stderr index 40bf7a3898a..6f430687e6d 100644 --- a/src/test/ui/function-pointer/unsized-ret.stderr +++ b/src/test/ui/function-pointer/unsized-ret.stderr @@ -23,7 +23,7 @@ LL | foo::<for<'a> fn(&'a ()) -> (dyn std::fmt::Display + 'a), _>(None, (&() | required by a bound introduced by this call | = 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 `for<'a> fn(&'a ()) -> (dyn std::fmt::Display + 'a)` + = note: required because it appears within the type `for<'a> fn(&'a ()) -> (dyn Display + 'a)` note: required by a bound in `foo` --> $DIR/unsized-ret.rs:5:11 | |
