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-05-03 18:34:41 +0200
committerGitHub <noreply@github.com>2020-05-03 18:34:41 +0200
commit5b1729030ab99a32f5c68f8964f42f37810116a3 (patch)
tree0ae5f2bf2f7f942df9f7af59f2efc0e0dcd21b6e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent6f5de87d3f9f192e00defe9a15e8396c13c2ec0c (diff)
parentbd18ad4fef9ca3d618521b8268183497b6104ff9 (diff)
downloadrust-5b1729030ab99a32f5c68f8964f42f37810116a3.tar.gz
rust-5b1729030ab99a32f5c68f8964f42f37810116a3.zip
Rollup merge of #71663 - jumbatm:caller-handles-validation-error, r=RalfJung
Fix exceeding bitshifts not emitting for assoc. consts (properly this time, I swear!)

Fixes #69021 and fixes #71353.

As described in https://github.com/rust-lang/rust/issues/71353#issuecomment-617901923, this PR:

- adds a variant of `try_validation!` called `try_validation_pat!` that allows specific failures to be turned into validation failures (but returns the rest, unchanged), and
- allows `InvalidProgram` to be returned out of validation

r? @RalfJung
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions