9 matches across 1 files for TODO lang:Rust path:src/tools/clippy/clippy_lints/src/panic_unimplemented.rs
snippet_mode: grep · sorted by relevance
src/tools/clippy/clippy_lints/src/panic_unimplemented.rs RUST 9 matches · showing 5 view file →
39declare_clippy_lint! {
40 /// ### What it does
41 /// Checks for usage of `todo!`.
42 ///
43 /// ### Why restrict this?
· · ·
44 /// The `todo!` macro indicates the presence of unfinished code,
45 /// so it should not be present in production code.
46 ///
· · ·
47 /// ### Example
48 /// ```no_run
49 /// todo!();
50 /// ```
51 /// Finish the implementation, or consider marking it as explicitly unimplemented.
· · ·
54 /// ```
55 #[clippy::version = "1.40.0"]
56 pub TODO,
57 restriction,
58 "`todo!` should not be present in production code"
· · ·
58 "`todo!` should not be present in production code"
59}
60
+ 4 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.