10 matches across 1 files for TODO lang:Rust lang:Rust path:compiler/crates/react_compiler_diagnostics/src/lib.rs
snippet_mode: grep · sorted by relevance
compiler/crates/react_compiler_diagnostics/src/lib.rs RUST 10 matches · showing 5 view file →
28 RenderSetState,
29 Invariant,
30 Todo,
31 Syntax,
32 UnsupportedSyntax,
· · ·
55 | ErrorCategory::UnsupportedSyntax => ErrorSeverity::Warning,
56
57 // Todo is Hint
58 ErrorCategory::Todo => ErrorSeverity::Hint,
59
· · ·
58 ErrorCategory::Todo => ErrorSeverity::Hint,
59
60 // Invariant and all others are Error severity
· · ·
170 }
171
172 /// Create a Todo diagnostic (matches TS `CompilerError.throwTodo()`).
173 pub fn todo(reason: impl Into<String>, loc: Option<SourceLocation>) -> Self {
174 let reason = reason.into();
· · ·
173 pub fn todo(reason: impl Into<String>, loc: Option<SourceLocation>) -> Self {
174 let reason = reason.into();
175 let mut diag = Self::new(ErrorCategory::Todo, reason.clone(), None);
+ 5 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.