63 matches across 1 files for error lang:Rust path:compiler/crates/react_compiler_validation/src/validate_hooks_usage.rs
snippet_mode: auto · sorted by relevance
compiler/crates/react_compiler_validation/src/validate_hooks_usage.rs RUST 63 matches · showing 5 view file →
15use indexmap::IndexMap;
16use react_compiler_diagnostics::{
17 CompilerDiagnostic, CompilerError, CompilerErrorDetail, ErrorCategory, SourceLocation,
18};
19use react_compiler_hir::dominator::compute_unconditional_blocks;
· · ·
29#[derive(Debug, Clone, Copy, PartialEq, Eq)]
30enum Kind {
31 Error,
32 KnownHook,
33 PotentialHook,
· · ·
37
38fn join_kinds(a: Kind, b: Kind) -> Kind {
39 if a == Kind::Error || b == Kind::Error {
40 Kind::Error
41 } else if a == Kind::KnownHook || b == Kind::KnownHook {
· · ·
40 Kind::Error
41 } else if a == Kind::KnownHook || b == Kind::KnownHook {
42 Kind::KnownHook
· · ·
88 place: &Place,
89 value_kinds: &FxHashMap<IdentifierId, Kind>,
90 errors_by_loc: &mut IndexMap<SourceLocation, CompilerErrorDetail, FxBuildHasher>,
91 env: &mut Environment,
92) -> Result<(), CompilerError> {
+ 58 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.