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 e22a8d2 commit ca3f1b2Copy full SHA for ca3f1b2
src/tools/lint-docs/src/lib.rs
@@ -497,7 +497,10 @@ impl<'a> LintExtractor<'a> {
497
let non_json: Vec<&str> =
498
stderr.lines().filter(|line| !line.starts_with('{')).collect();
499
return Err(format!(
500
- "lint `{}` is unstable and must be enabled in example. see:\n{}\n{}",
+ "did not find lint `{}` in output of example (got unknown_lints)\n\
501
+ Is the lint possibly misspelled, or does it need a `#![feature(...)]`?\n\
502
+ Output was:\n\
503
+ {}\n{}",
504
name,
505
rendered.join("\n"),
506
non_json.join("\n"),
0 commit comments