Skip to content

Revert formatting changes of a test #104667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert formatting changes of a test
  • Loading branch information
WaffleLapkin committed Nov 21, 2022
commit d9f2c0b33d6851c8553ca6e30b7e4c3ad3012b75
10 changes: 5 additions & 5 deletions src/test/ui/or-patterns/or-patterns-syntactic-pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ accept_pat!([p | q]);
#[cfg(FALSE)]
fn or_patterns() {
// Top level of `let`:
let (A | B);
let (| A | B);
let (A | B);
let (A | B): u8;
let (A | B) = 0;
let (A | B): u8 = 0;

// Top level of `for`:
for A | B in 0 {}
for | A | B in 0 {}
for A | B in 0 {}

// Top level of `while`:
while let A | B = 0 {}
while let | A | B = 0 {}
while let A | B = 0 {}

// Top level of `if`:
if let A | B = 0 {}
if let | A | B = 0 {}
if let A | B = 0 {}

// Top level of `match` arms:
match 0 {
A | B => {}
| A | B => {}
A | B => {}
}

Expand Down