about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-11-04 12:53:02 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-09 20:36:59 -0800
commit3f50076fb3166b3f71b4a52e8ebc4cd59572ac74 (patch)
tree129db334f8aee32b35ccd56a9d09bf3639e34b06 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent124cc92199ffa924f6b4c7cc819a85b65e0c3984 (diff)
downloadrust-3f50076fb3166b3f71b4a52e8ebc4cd59572ac74.tar.gz
rust-3f50076fb3166b3f71b4a52e8ebc4cd59572ac74.zip
compiler: gate `extern "{abi}"` in ast_lowering
By moving this stability check into AST lowering, we effectively make
it impossible to accidentally miss, as it must happen to generate HIR.
Also, we put the ABI-stability code next to code that actually uses it!
This allows code that wants to reason about backend ABI implementations
to stop worrying about high-level concerns like syntax stability,
while still leaving it as the authority on what ABIs actually exist.

It also makes it easy to refactor things to have more consistent errors.
For now, we only apply this to generalize the existing messages a bit.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions