We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Known problems
1 parent 569fa96 commit 9c5ec69Copy full SHA for 9c5ec69
clippy_lints/src/missing_assert_message.rs
@@ -15,6 +15,13 @@ declare_clippy_lint! {
15
/// A good custom message should be more about why the failure of the assertion is problematic
16
/// and not what is failed because the assertion already conveys that.
17
///
18
+ /// ### Known problems
19
+ /// This lint cannot check the quality of the custom panic messages.
20
+ /// Hence, you can suppress this lint simply by adding placeholder messages
21
+ /// like "assertion failed". However, we recommend coming up with good messages
22
+ /// that provide useful information instead of placeholder messages that
23
+ /// don't provide any extra information.
24
+ ///
25
/// ### Example
26
/// ```rust
27
/// # struct Service { ready: bool }
0 commit comments