rust/compiler/rustc_trait_selection
Aaron Hill f2d7c05db0
Don't try to add nested predicate to Rustdoc auto-trait ParamEnv
Fixes #80233

We already have logic in `evaluate_predicates` that tries to add
unimplemented predicates to our `ParamEnv`. Trying to add a predicate
that already holds can lead to errors later on, since projection
will prefer trait candidates from the `ParamEnv` to predicates from an
impl.
2020-12-20 21:10:29 -05:00
..
src Don't try to add nested predicate to Rustdoc auto-trait ParamEnv 2020-12-20 21:10:29 -05:00
Cargo.toml