about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2022-05-05 15:50:11 +0100
committerflip1995 <hello@philkrones.com>2022-05-07 17:10:30 +0200
commitbca3d8a6b5f04fe2a6ca95ff22d07ee73ad80604 (patch)
tree5bd5cb2708fdf78a097abec4d7e9d5eb16b49b70 /src/test/codegen
parented8458f67a56b0f01dcdd693339c1aa2ee7fa6ff (diff)
downloadrust-bca3d8a6b5f04fe2a6ca95ff22d07ee73ad80604.tar.gz
rust-bca3d8a6b5f04fe2a6ca95ff22d07ee73ad80604.zip
Track if a where bound comes from a impl Trait desugar
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.
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions