22 matches across 1 files for error lang:Rust path:compiler/crates/react_compiler_ast/tests/scope_resolution.rs
snippet_mode: grep · sorted by relevance
compiler/crates/react_compiler_ast/tests/scope_resolution.rs RUST 22 matches · showing 5 view file →
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
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.