Extent pretty-print test
This commit is contained in:
parent
1b681d6652
commit
37c2c38aeb
1 changed files with 9 additions and 0 deletions
|
@ -24,5 +24,14 @@ fn if_let() {
|
||||||
if let Some(_) = Some(true) { }
|
if let Some(_) = Some(true) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(FALSE)]
|
||||||
|
fn let_attr_if() {
|
||||||
|
let _ = #[attr] if let _ = 0 { };
|
||||||
|
let _ = #[attr] if true { };
|
||||||
|
|
||||||
|
let _ = #[attr] if let _ = 0 { } else { };
|
||||||
|
let _ = #[attr] if true { } else { };
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
fn main() { }
|
fn main() { }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue