diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-06-06 20:39:54 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-06-06 20:39:54 +0000 |
| commit | 216424da32db1bf0d224b97ff3d0424622c97c4c (patch) | |
| tree | 15e79fd69aacc97b61979ad5a7bc8d320d123de2 /src/tools/rustfmt/tests/source | |
| parent | e1ac0fa95ba15221ee195647cb12464df3164513 (diff) | |
| download | rust-216424da32db1bf0d224b97ff3d0424622c97c4c.tar.gz rust-216424da32db1bf0d224b97ff3d0424622c97c4c.zip | |
Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"
This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
Diffstat (limited to 'src/tools/rustfmt/tests/source')
| -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 fc13cd02b03..d45fba55224 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 |
