summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-16 05:55:59 +0000
committerbors <bors@rust-lang.org>2023-01-16 05:55:59 +0000
commitd12412c90fbd974b1cf886e42a95c850d9ee45a1 (patch)
tree2ae804c5b1324bbd5085a23c247be985a7eff861 /tests/rustdoc-js-std/parser-errors.js
parent41edaac716dde55b6a9d83ae4da0fba354ae5ba8 (diff)
parent90df86f474e9214fe3337181db8e88b9b785e6fe (diff)
downloadrust-d12412c90fbd974b1cf886e42a95c850d9ee45a1.tar.gz
Auto merge of #106395 - compiler-errors:rework-predicates, r=eholk
Rework some `predicates_of`/`{Generic,Instantiated}Predicates` code 1. Make `instantiate_own` return an iterator, since it's a bit more efficient and easier to work with 2. Remove `bound_{explicit,}_predicates_of` -- these `bound_` methods in particular were a bit awkward to work with since `ty::GenericPredicates` *already* acts kinda like an `EarlyBinder` with its own `instantiate_*` methods, and had only a few call sites anyways. 3. Implement `IntoIterator` for `InstantiatedPredicates`, since it's *very* commonly being `zip`'d together.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions