Skip to content

Commit

Permalink
Extent pretty-print test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Mar 4, 2020
1 parent 1b681d6 commit 37c2c38
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/pretty/if-attr.rs
Expand Up @@ -24,5 +24,14 @@ fn if_let() {
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() { }

0 comments on commit 37c2c38

Please sign in to comment.