You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clippy_lints/src/utils/author.rs
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ use rustc_span::symbol::{Ident, Symbol};
12
12
use std::cell::Cell;
13
13
use std::fmt::{Display,Formatter,Writeas _};
14
14
15
-
declare_clippy_lint!{
15
+
declare_lint_pass!(
16
16
/// ### What it does
17
17
/// Generates clippy code that detects the offending pattern
18
18
///
@@ -44,13 +44,8 @@ declare_clippy_lint!{
44
44
/// // report your lint here
45
45
/// }
46
46
/// ```
47
-
#[clippy::version = "1.0.0"]
48
-
pubAUTHOR,
49
-
internal,
50
-
"The author lint, see documentation at <https://doc.rust-lang.org/nightly/clippy/development/adding_lints.html#author-lint>"
51
-
};
52
-
53
-
declare_lint_pass!{Author => [AUTHOR]}
47
+
Author => []
48
+
);
54
49
55
50
/// Writes a line of output with indentation added
0 commit comments