about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-11 16:37:02 +0100
committerGitHub <noreply@github.com>2020-02-11 16:37:02 +0100
commit0ba5e8a88ff05ccf4803e0bd54b3aabbc617956f (patch)
tree47c1fc9cccbc960b4effbabe99eb11386fe96add /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentdc98cb09c0479710fa6d59c3f1a6e1ac962f0aa4 (diff)
parentf66793757fd1cdfa6098ec1b8532ba0382792c4d (diff)
downloadrust-0ba5e8a88ff05ccf4803e0bd54b3aabbc617956f.tar.gz
rust-0ba5e8a88ff05ccf4803e0bd54b3aabbc617956f.zip
Rollup merge of #69044 - jonas-schievink:dont-run-coherence-twice, r=davidtwco
Don't run coherence twice for future-compat lints

This fixes the regression introduced by https://github.com/rust-lang/rust/pull/65232 (which I mentioned in https://github.com/rust-lang/rust/pull/65232#issuecomment-583739037).

Old algorithm:
* Run coherence with all future-incompatible checks off, reporting errors on any overlap.
* If there's no overlap (common case), run it *again*, with the future-incompatible checks on. Report warnings for any overlap found.

New algorithm:
* Run coherence with all additional future-incompatible checks *on*, which means that we'll find *all* potentially overlapping impls immediately.
* If this found overlap, run coherence again, with the future-incompatible checks off. If that *still* gives an error, we report it. If not, it ought to be a warning.

This reduces time spent in coherence checking for the nrf52810-pac by roughly 50% relative to current master.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions