summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-12 22:15:43 +0000
committerPhilipp Krones <hello@philkrones.com>2023-12-21 16:00:40 +0100
commitbdb77cc10bd71fe7f3d6c69dda0b0742e925d865 (patch)
tree0e0a01f3c408c4d173ef266f590aa2e4cf31faf4 /tests/codegen/src-hash-algorithm
parented1336c6469ff46e4778b4f2b982448a9d83ec91 (diff)
downloadrust-bdb77cc10bd71fe7f3d6c69dda0b0742e925d865.tar.gz
rust-bdb77cc10bd71fe7f3d6c69dda0b0742e925d865.zip
Auto merge of #11760 - compiler-errors:escaping, r=Jarcho
Don't check for late-bound vars, check for escaping bound vars

Fixes an assertion that didn't make sense. Many valid and well-formed types *have* late-bound vars (e.g. `for<'a> fn(&'a ())`), they just must not have *escaping* late-bound vars in order to be normalized correctly.

Addresses rust-lang/rust-clippy#11230, cc `@jyn514` and `@matthiaskrgr`

changelog: don't check for late-bound vars, check for escaping bound vars. Addresses rust-lang/rust-clippy#11230
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions