We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5af1724 + 9346fe9 commit b07e730Copy full SHA for b07e730
src/librustc/lint/context.rs
@@ -121,10 +121,10 @@ pub enum FindLintError {
121
122
pub enum CheckLintNameResult<'a> {
123
Ok(&'a [LintId]),
124
- // Lint doesn't exist
+ /// Lint doesn't exist
125
NoLint,
126
- // The lint is either renamed or removed. This is the warning
127
- // message.
+ /// The lint is either renamed or removed. This is the warning
+ /// message.
128
Warning(String),
129
}
130
@@ -253,7 +253,7 @@ impl LintStore {
253
254
255
256
- // Checks the validity of lint names derived from the command line
+ /// Checks the validity of lint names derived from the command line
257
pub fn check_lint_name_cmdline(&self,
258
sess: &Session,
259
lint_name: &str,
0 commit comments