diff options
Diffstat (limited to 'src/tools/rustfmt/tests/source/attrib.rs')
| -rw-r--r-- | src/tools/rustfmt/tests/source/attrib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rustfmt/tests/source/attrib.rs b/src/tools/rustfmt/tests/source/attrib.rs index d45fba55224..fc13cd02b03 100644 --- a/src/tools/rustfmt/tests/source/attrib.rs +++ b/src/tools/rustfmt/tests/source/attrib.rs @@ -214,8 +214,8 @@ type Os = NoSource; // #3313 fn stmt_expr_attributes() { let foo ; - #[must_use] - foo = false ; + (#[must_use] + foo) = false ; } // #3509 |
