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 527aac4Copy full SHA for 527aac4
compiler/rustc_session/src/config.rs
@@ -1438,9 +1438,10 @@ impl CheckCfg {
1438
1439
ins!(sym::debug_assertions, no_values);
1440
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.
+ // These four are never set by rustc, but we set them anyway: they
+ // should not trigger a lint because `cargo doc`, `cargo test`,
+ // `cargo clippy` and `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