1
Fork 0
rust/compiler/rustc_trait_selection/src
Yuki Okushi 0dedc6c054
Rollup merge of #80254 - Aaron1011:rustdoc-auto-param-env, r=estebank
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.
2021-01-15 18:26:04 +09:00
..
traits Rollup merge of #80254 - Aaron1011:rustdoc-auto-param-env, r=estebank 2021-01-15 18:26:04 +09:00
autoderef.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
infer.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
lib.rs TypeVisitor: use ControlFlow in rustc_{infer,lint,trait_selection} 2020-10-30 12:27:34 +01:00
opaque_types.rs Remove extra call to upvar_tys 2020-11-29 19:11:20 -05:00