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:
authorbors <bors@rust-lang.org>2021-06-14 20:17:02 +0000
committerbors <bors@rust-lang.org>2021-06-14 20:17:02 +0000
commit539d7bd3998d9bfed14c264eacda30097a4ea768 (patch)
treec2f4bf875c1544dff4eafe15fba76fc8873b6000 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent304441960e7058fe97f09ef00b20739b4dc56d11 (diff)
parent5af1c725138fddd0a91501ba7a485e5000816ae6 (diff)
downloadrust-539d7bd3998d9bfed14c264eacda30097a4ea768.tar.gz
rust-539d7bd3998d9bfed14c264eacda30097a4ea768.zip
Auto merge of #86275 - lqd:ctfe-validation, r=RalfJung
Improve CTFE UB validation error messages

As mentioned in https://github.com/rust-lang/rust/pull/86245#discussion_r650494012 this PR slightly improves the formatting of validation errors, to move the path to the error prefix.

From:
`type validation failed: encountered invalid vtable: size is bigger than largest supported object at .0`

To:
`type validation failed at .0: encountered invalid vtable: size is bigger than largest supported object`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions