summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/clippy.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/clippy.md')
-rw-r--r--docs/markdown/snippets/clippy.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/snippets/clippy.md b/docs/markdown/snippets/clippy.md
index 14bcc7742..47d02083a 100644
--- a/docs/markdown/snippets/clippy.md
+++ b/docs/markdown/snippets/clippy.md
@@ -3,3 +3,6 @@
Meson now defines a `clippy` target if the project uses the Rust programming
language. The target runs clippy on all Rust sources, using the `clippy-driver`
program from the same Rust toolchain as the `rustc` compiler.
+
+Using `clippy-driver` as the Rust compiler will now emit a warning, as it
+is not meant to be a general-purpose compiler front-end.