about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2020-11-21 15:33:36 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2021-08-20 17:27:50 -0400
commit020655b90da83b0a037a9d3c987be17f04eedbc4 (patch)
treed95687930d34ac721c648b647c257b046ab8f9b6 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent947c0de028a01be4edd9c10173956c32226595c2 (diff)
downloadrust-020655b90da83b0a037a9d3c987be17f04eedbc4.tar.gz
rust-020655b90da83b0a037a9d3c987be17f04eedbc4.zip
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.)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions