Yutaro Ohno
e5281c389d
Provide a better error for Fn
traits with lifetime params
...
Currently, given `Fn`-family traits with lifetime params like
`Fn<'a>(&'a str) -> bool`, many unhelpful errors show up. These are a
bit confusing.
This commit allows these situations to suggest simply using
higher-ranked trait bounds like `for<'a> Fn(&'a str) -> bool`.
2022-12-29 15:08:30 +09:00
..
2022-12-25 14:42:49 +00:00
2022-12-27 12:33:35 -08:00
2022-12-27 07:31:42 +00:00
2022-12-25 22:15:00 +01:00
2022-12-26 09:06:51 +00:00
2022-12-24 14:00:37 +00:00
2022-12-25 00:43:50 +01:00
2022-12-25 17:32:26 +01:00
2022-12-27 17:03:39 +13:00
2022-12-27 06:14:46 +00:00
2022-12-25 17:32:26 +01:00
2022-12-28 22:22:19 +01:00
2022-12-28 09:18:42 -05:00
2022-12-28 09:18:43 -05:00
2022-12-28 17:00:00 +00:00
2022-12-28 14:40:03 +01:00
2022-12-28 13:07:30 +00:00
2022-12-27 06:14:46 +00:00
2022-12-28 15:51:41 +08:00
2022-12-25 00:43:50 +01:00
2022-12-28 13:07:30 +00:00
2022-12-28 13:07:30 +00:00
2022-12-25 23:47:11 +00:00
2022-12-29 15:08:30 +09:00
2022-12-26 12:03:47 +00:00
2022-12-25 17:32:26 +01:00
2022-12-27 12:16:25 -08:00
2022-12-25 22:15:00 +01:00
2022-12-28 14:40:00 +01:00
2022-12-25 00:43:50 +01:00
2022-12-28 13:07:30 +00:00
2022-12-24 21:36:58 +00:00