Module assets_parser

Module assets_parser 

Source

Structs§

PropertyEntry
Structure of JSON entries.

Functions§

get_std_contracts_from_assets
Looks up backup contracts for a standard-library function by its normalized path. For trait-method impls, resolves to the trait method’s path first so that all impls share the same contracts.
get_std_contracts_from_json 🔒
Lazily loads the backup contract database for standard-library APIs.
normalize_json_trailing_commas 🔒
Removes trailing commas that appear immediately before } or ] in JSON text.
resolve_trait_method 🔒
If def_id is a trait-method implementation, returns the corresponding trait method’s DefId; otherwise returns def_id unchanged.