mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
ed3164baf0
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) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |