mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Revert formatting changes of a test
This commit is contained in:
parent
736c675d2a
commit
d9f2c0b33d
@ -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 => {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user