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