Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions clippy_lints/src/attrs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ declare_clippy_lint! {
/// ### What it does
/// Checks for ignored tests without messages.
///
/// Note: you need to run `cargo clippy --tests` to enable tests checking.
///
/// ### Why is this bad?
/// The reason for ignoring the test may not be obvious.
///
Expand Down
2 changes: 2 additions & 0 deletions clippy_lints/src/redundant_test_prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ declare_clippy_lint! {
/// Checks for test functions (functions annotated with `#[test]`) that are prefixed
/// with `test_` which is redundant.
///
/// Note: you need to run `cargo clippy --tests` to enable tests checking.
///
/// ### Why is this bad?
/// This is redundant because test functions are already annotated with `#[test]`.
/// Moreover, it clutters the output of `cargo test` since test functions are expanded as
Expand Down
Loading