about summary refs log tree commit diff
path: root/clippy_dev/src
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-04-20 14:37:15 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-04-20 14:44:03 +0000
commitdef1705a271e317da4ae67d3a92e99fc699c9209 (patch)
treec7157d8eb916bcd214b8204d0490f8249e3d5266 /clippy_dev/src
parent4d35b5e27b8cb3b220b9d7ec352142508c7ea8a2 (diff)
downloadrust-def1705a271e317da4ae67d3a92e99fc699c9209.tar.gz
rust-def1705a271e317da4ae67d3a92e99fc699c9209.zip
Update to a compiletest-rs version that requires `//@` for commands
Diffstat (limited to 'clippy_dev/src')
-rw-r--r--clippy_dev/src/update_lints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs
index 95222a9acdf..dd90a38f757 100644
--- a/clippy_dev/src/update_lints.rs
+++ b/clippy_dev/src/update_lints.rs
@@ -741,7 +741,7 @@ fn gen_deprecated_lints_test(lints: &[DeprecatedLint]) -> String {
 fn gen_renamed_lints_test(lints: &[RenamedLint]) -> String {
     let mut seen_lints = HashSet::new();
     let mut res: String = GENERATED_FILE_COMMENT.into();
-    res.push_str("// run-rustfix\n\n");
+    res.push_str("//@run-rustfix\n\n");
     for lint in lints {
         if seen_lints.insert(&lint.new_name) {
             writeln!(res, "#![allow({})]", lint.new_name).unwrap();