Format test cfg attributes with rustfmt

This commit is contained in:
David Tolnay 2023-03-11 14:42:01 -08:00
parent 23d5478e33
commit 68bfd52445
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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);