diff options
Diffstat (limited to 'tests/test_source.rs')
-rw-r--r-- | tests/test_source.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_source.rs b/tests/test_source.rs index 860e727..ab16097 100644 --- a/tests/test_source.rs +++ b/tests/test_source.rs @@ -60,4 +60,8 @@ macro_rules! error_from_macro { } // Test that we generate impls with the proper hygiene -error_from_macro!(#[error("Something")] Variant(#[from] io::Error)); +#[rustfmt::skip] +error_from_macro! { + #[error("Something")] + Variant(#[from] io::Error) +} |