bors 1d018ce47c Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillot
Track if a where bound comes from a impl Trait desugar

With https://github.com/rust-lang/rust/pull/93803 `impl Trait` function arguments get desugared to hidden where bounds. However, Clippy needs to know if a bound was originally a `impl Trait` or an actual bound. This adds a field to the `WhereBoundPredicate` struct to keep track of this information during AST->HIR lowering.

r? `@cjgillot`

cc `@estebank` (as the reviewer of #93803)
2022-05-08 14:10:12 +00:00
..
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 17:09:16 +00:00
2022-02-24 22:55:40 +03:00
2022-02-24 22:55:40 +03:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2022-03-02 19:20:27 -05:00
2022-04-30 13:55:17 +02:00
2021-12-12 12:34:21 +00:00
2021-12-12 12:34:21 +00:00
2022-04-17 11:03:34 +02:00