We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cargo dev
1 parent 05c2fa2 commit a03df14Copy full SHA for a03df14
clippy_dev/src/update_lints.rs
@@ -497,20 +497,23 @@ fn test_parse_contents() {
497
let result: Vec<Lint> = parse_contents(
498
r#"
499
declare_clippy_lint! {
500
+ #[clippy::version = "test 2"]
501
pub PTR_ARG,
502
style,
503
"really long \
504
text"
505
}
506
507
declare_clippy_lint!{
508
509
pub DOC_MARKDOWN,
510
pedantic,
511
"single line"
512
513
514
/// some doc comment
515
declare_deprecated_lint! {
516
517
pub SHOULD_ASSERT_EQ,
518
"`assert!()` will be more flexible with RFC 2011"
519
0 commit comments