Skip to content

Commit

Permalink
Add clippy into the known cfg list
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 15, 2024
1 parent bd6b336 commit 150cef9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_session/src/config.rs
Expand Up @@ -1441,6 +1441,7 @@ impl CheckCfg {
// These three are never set by rustc, but we set them anyway: they
// should not trigger a lint because `cargo doc`, `cargo test`, and
// `cargo miri run` (respectively) can set them.
ins!(sym::clippy, no_values);
ins!(sym::doc, no_values);
ins!(sym::doctest, no_values);
ins!(sym::miri, no_values);
Expand Down

0 comments on commit 150cef9

Please sign in to comment.