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.
1 parent d4ff949 commit 7b9388bCopy full SHA for 7b9388b
src/librustc/lint/levels.rs
@@ -273,9 +273,10 @@ impl<'a> LintLevelsBuilder<'a> {
273
specs.insert(*id, (level, src));
274
}
275
276
- //FIXME: if Tool(None) is returned than the lint either does not exist in
277
- //the lint tool or the code doesn't get compiled with the lint tool and
278
- //therefore the lint cannot exist.
+ // If Tool(None) is returned, then either the lint does not exist in the
+ // tool or the code was not compiled with the tool and therefore the lint
+ // was never added to the `LintStore`. To detect this is the responsibility
279
+ // of the lint tool.
280
281
282
_ if !self.warn_about_weird_lints => {}
0 commit comments