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.
cfg
1 parent bd6b336 commit 150cef9Copy full SHA for 150cef9
compiler/rustc_session/src/config.rs
@@ -1441,6 +1441,7 @@ impl CheckCfg {
1441
// These three are never set by rustc, but we set them anyway: they
1442
// should not trigger a lint because `cargo doc`, `cargo test`, and
1443
// `cargo miri run` (respectively) can set them.
1444
+ ins!(sym::clippy, no_values);
1445
ins!(sym::doc, no_values);
1446
ins!(sym::doctest, no_values);
1447
ins!(sym::miri, no_values);
0 commit comments