about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-12 06:42:49 +0000
committerbors <bors@rust-lang.org>2020-08-12 06:42:49 +0000
commit4745cbe83e0b3299bfe7f7f305b975c3c09f92db (patch)
treecb2e5e7bd66527c2b564a6144dda36b7ca4a6c64 /src/test/rustdoc-ui/coverage/json.rs
parentc94ed5ca91f1363b66970ce2cbd6e2773e3cb1d3 (diff)
parentab766f0511fa0a735997b2a442744af71d8e6be0 (diff)
downloadrust-4745cbe83e0b3299bfe7f7f305b975c3c09f92db.tar.gz
rust-4745cbe83e0b3299bfe7f7f305b975c3c09f92db.zip
Auto merge of #75205 - Aaron1011:fix/auto-trait-proj-ice, r=nikomatsakis
Handle projection predicates in the param env for auto-trait docs

Fixes #72213

Any predicates in the param env are guaranteed to hold, so we don't need
to do any additional processing of them if we come across them as
sub-obligations of a different predicate. This allows us to avoid adding
the same predicate to the computed ParamEnv multiple times (but with
different regions each time), which causes an ambiguity error during
fulfillment.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions