contracts: added lang items that act as hooks for rustc-injected code to invoke.

see test for an example of the kind of injected code that is anticipated here.
This commit is contained in:
Felix S. Klock II 2024-12-02 21:16:35 +00:00 committed by Celina G. Val
parent bcb8565f30
commit 777def87d5
5 changed files with 90 additions and 0 deletions

View file

@ -676,6 +676,7 @@ symbols! {
const_ty_placeholder: "<const_ty>",
constant,
constructor,
contract_build_check_ensures,
contract_check_ensures,
contract_check_requires,
contract_checks,