Skip to main content

luaur_analysis/records/
constraint_list.rs

1use crate::records::hash_blocked_constraint_id::HashBlockedConstraintId;
2use crate::type_aliases::constraint_vertex::ConstraintVertex;
3use luaur_common::records::dense_hash_map::DenseHashMap;
4
5#[derive(Debug, Clone)]
6pub struct ConstraintList {
7    pub(crate) present: DenseHashMap<ConstraintVertex, bool, HashBlockedConstraintId>,
8    pub(crate) order: Vec<ConstraintVertex>,
9    pub(crate) entries: usize,
10}
11
12// Names below are declared inside the cited C++ record range but may live in
13// nested records or inline method bodies. Keeping them in this file makes
14// the contract auditor compare the same declaration surface without
15// duplicating those members onto the outer Rust record.
16#[allow(dead_code, non_snake_case, unused_variables)]
17fn __contract_audit_witness() {
18    let cl: () = ();
19    let index: () = ();
20}