mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-06 22:37:38 +03:00
Adjust macro hygiene test formatting
Different versions of rustfmt mangle this all different ways.
This commit is contained in:
parent
c610d97267
commit
ee2a47d3af
1 changed files with 5 additions and 1 deletions
|
@ -60,4 +60,8 @@ macro_rules! error_from_macro {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test that we generate impls with the proper hygiene
|
// 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)
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue