107 Ok(info) => info,
108 Err(e) => {
109▶ failures.push((fixture_name, format!("Scope deserialization error: {e}")));
110 continue;
111 }
· · ·
127 }
128
129▶ let mut consistency_error = None;
130
131 for binding in &scope_info.bindings {
· · ·
132 if binding.scope.0 as usize >= scope_info.scopes.len() {
133▶ consistency_error = Some(format!(
134 "Binding {} has scope {} but only {} scopes exist",
135 binding.name,
· · ·
141 }
142
143▶ if consistency_error.is_none() {
144 for scope in &scope_info.scopes {
145 for (name, &bid) in &scope.bindings {
· · ·
146 if bid.0 as usize >= scope_info.bindings.len() {
147▶ consistency_error = Some(format!(
148 "Scope {} has binding '{}' with id {} but only {} bindings exist",
149 scope.id.0,
+ 17 more matches in this file