diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2022-12-27 18:56:00 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2022-12-27 18:56:00 -0800 |
| commit | b6453a454f7269318cf74620ced1fa06015df22b (patch) | |
| tree | 27eea8aaedb580d96fb68c37fd0debac5fa75eee /src/test/ui/function-pointer | |
| parent | 92c1937a90e5b6f20fa6e87016d6869da363972e (diff) | |
| download | rust-b6453a454f7269318cf74620ced1fa06015df22b.tar.gz rust-b6453a454f7269318cf74620ced1fa06015df22b.zip | |
Trim more paths in obligation types
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 | |
