From c41fadfd4050e8c530fdbac7274a1982bfd851e3 Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Wed, 8 Oct 2025 21:17:49 +0800 Subject: [PATCH] test: fix `tests/source/issue-1278.rs` test header `key = value` is not a valid significant test comment form, the value must be `Block` not double-quoted `"block"` or `"Block"`. --- tests/source/issue-1278.rs | 2 +- tests/target/issue-1278.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/source/issue-1278.rs b/tests/source/issue-1278.rs index e25376561a9..b7e636f1a27 100644 --- a/tests/source/issue-1278.rs +++ b/tests/source/issue-1278.rs @@ -1,4 +1,4 @@ -// rustfmt-indent_style = "block" +// rustfmt-indent_style: Block #![feature(pub_restricted)] diff --git a/tests/target/issue-1278.rs b/tests/target/issue-1278.rs index e25376561a9..b7e636f1a27 100644 --- a/tests/target/issue-1278.rs +++ b/tests/target/issue-1278.rs @@ -1,4 +1,4 @@ -// rustfmt-indent_style = "block" +// rustfmt-indent_style: Block #![feature(pub_restricted)]