Skip to content

Commit

Permalink
Format test cfg attributes with rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 11, 2023
1 parent 23d5478 commit 68bfd52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ fn test_proc_macro2_fallback_span_size_with_locations() {
}

#[rustversion::attr(before(1.32), ignore)]
#[rustversion::attr(since(1.32), cfg_attr(not(all(wrap_proc_macro, not(span_locations))), ignore))]
#[rustversion::attr(
since(1.32),
cfg_attr(not(all(wrap_proc_macro, not(span_locations))), ignore)
)]
#[test]
fn test_proc_macro2_wrapper_span_size_without_locations() {
assert_eq!(mem::size_of::<proc_macro2::Span>(), 4);
Expand Down

0 comments on commit 68bfd52

Please sign in to comment.