mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:07:41 +03:00
bca3d8a6b5
With #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 HIR lowering.