diff options
| author | David Tolnay <dtolnay@gmail.com> | 2024-12-02 17:17:37 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2024-12-02 17:33:20 -0800 |
| commit | 193d82797cfa88eb49d53c16745423de6bc54851 (patch) | |
| tree | 8663314918ce629b24063006f1143ed716f4cd4a /tests | |
| parent | f3ac64ac342fca3040e067a9e3c3c8aba9186860 (diff) | |
| download | rust-193d82797cfa88eb49d53c16745423de6bc54851.tar.gz rust-193d82797cfa88eb49d53c16745423de6bc54851.zip | |
Squash closures and jumps into a single precedence level
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui-fulldeps/pprust-parenthesis-insertion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui-fulldeps/pprust-parenthesis-insertion.rs b/tests/ui-fulldeps/pprust-parenthesis-insertion.rs index d545c017fda..f535db06879 100644 --- a/tests/ui-fulldeps/pprust-parenthesis-insertion.rs +++ b/tests/ui-fulldeps/pprust-parenthesis-insertion.rs @@ -72,7 +72,7 @@ static EXPRS: &[&str] = &[ "(return) - 2", // Closures and jumps have equal precedence. "|| return break 2", - "return break (|| 2)", // FIXME: no parenthesis needed. + "return break || 2", // These mean different things. "if let _ = true && false {}", "if let _ = (true && false) {}", |
