rust/compiler
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 00:43:50 +01:00
2022-12-28 09:18:43 -05:00
2022-12-25 00:43:50 +01:00
2022-12-25 00:43:50 +01:00