rust/compiler/rustc_infer/src
Niko Matsakis 020655b90d move the sub-unify check and extend the documentation a bit
I didn't like the sub-unify code executing when a predicate was
ENQUEUED, that felt fragile. I would have preferred to move the
sub-unify code so that it only occurred during generalization, but
that impacted diagnostics, so having it also occur when we process
subtype predicates felt pretty reasonable. (I guess we only need one
or the other, but I kind of prefer both, since the generalizer
ultimately feels like the *right* place to guarantee the properties we
want.)
2021-08-20 17:27:50 -04:00
..
infer move the sub-unify check and extend the documentation a bit 2021-08-20 17:27:50 -04:00
traits introduce a Coerce predicate 2021-08-19 17:28:24 -04:00
lib.rs Remove box syntax from rustc_infer 2021-08-18 09:25:26 +02:00