about summary refs log tree commit diff
path: root/tests/ui/function-pointer
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-01-06 01:03:52 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-30 20:12:21 +0000
commit81973a39e05bfc5ddad4b5a54903c2c8fbdfa273 (patch)
treedbd0983c2dc59a962daf3a5a09a67628ec39cfa1 /tests/ui/function-pointer
parent3fa95b847be64342562bccd55abb7e55c8daa3f2 (diff)
downloadrust-81973a39e05bfc5ddad4b5a54903c2c8fbdfa273.tar.gz
rust-81973a39e05bfc5ddad4b5a54903c2c8fbdfa273.zip
Don't show `for<'lt>` in force trimmed paths
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 6f430687e6d..dd00ff103e7 100644
--- a/tests/ui/function-pointer/unsized-ret.stderr
+++ b/tests/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 Display + 'a)`
+   = note: required because it appears within the type `fn(&'a ()) -> (dyn Display + 'a)`
 note: required by a bound in `foo`
   --> $DIR/unsized-ret.rs:5:11
    |