about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-12 22:15:43 +0000
committerbors <bors@rust-lang.org>2023-11-12 22:15:43 +0000
commit07bc13007472bd2758bbe9c8f6308ebfe0d7ac6f (patch)
tree57ae2172ecba9d81981baf963351a29a7c6330b2 /tests/rustdoc-js-std/parser-slice-array.js
parent6a15f3bd49d6ee9127c042153c35130561828b3f (diff)
parent1539eb8c03362ec765991b178031e4e97ecd1602 (diff)
downloadrust-07bc13007472bd2758bbe9c8f6308ebfe0d7ac6f.tar.gz
rust-07bc13007472bd2758bbe9c8f6308ebfe0d7ac6f.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/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions