diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-08-05 20:19:56 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-08-05 20:22:55 -0400 |
| commit | ab766f0511fa0a735997b2a442744af71d8e6be0 (patch) | |
| tree | ccfcdcaa86f9fbbbf8648236d283dd3b8abbbd58 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | db870ea71b6dcc7a91b999420b88f41d3cdd13e1 (diff) | |
| download | rust-ab766f0511fa0a735997b2a442744af71d8e6be0.tar.gz rust-ab766f0511fa0a735997b2a442744af71d8e6be0.zip | |
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
