19 matches across 1 files for error lang:Rust path:compiler/crates/react_compiler_hir/src/globals.rs lang:Rust lang:Rust
snippet_mode: auto · sorted by relevance
compiler/crates/react_compiler_hir/src/globals.rs RUST 19 matches · showing 5 view file →
138/// Convert a user-provided TypeConfig into an internal Type, registering shapes
139/// as needed. Ported from TS `installTypeConfig` in Globals.ts.
140/// If `errors` is provided, hook-name vs hook-type consistency validation
141/// errors are collected there.
142pub fn install_type_config(
· · ·
141/// errors are collected there.
142pub fn install_type_config(
143 _globals: &mut GlobalRegistry,
· · ·
150}
151
152/// Like `install_type_config` but collects validation errors.
153pub fn install_type_config_with_errors(
154 _globals: &mut GlobalRegistry,
· · ·
153pub fn install_type_config_with_errors(
154 _globals: &mut GlobalRegistry,
155 shapes: &mut ShapeRegistry,
· · ·
157 module_name: &str,
158 _loc: (),
159 errors: &mut Vec<String>,
160) -> Global {
161 install_type_config_inner(
+ 14 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.