diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-04-23 13:03:09 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-04-23 13:28:56 +0200 |
| commit | a1b75c5108514504c8382ac70d56f9a2a9aee7c4 (patch) | |
| tree | cf80402b1e8554c973d6a0f48d158fb40580845f /clippy_dev | |
| parent | f30fc0a5e2e1d2e816c264354c45a6d7da576107 (diff) | |
| download | rust-a1b75c5108514504c8382ac70d56f9a2a9aee7c4.tar.gz rust-a1b75c5108514504c8382ac70d56f9a2a9aee7c4.zip | |
Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup
Diffstat (limited to 'clippy_dev')
| -rw-r--r-- | clippy_dev/src/update_lints.rs | 2 |
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(); |
