We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[allow(deprecated)]
s!
1 parent 8df2e9a commit a13bfeeCopy full SHA for a13bfee
src/macros.rs
@@ -67,6 +67,7 @@ macro_rules! s {
67
)*);
68
(it: $(#[$attr:meta])* pub union $i:ident { $($field:tt)* }) => (
69
__item! {
70
+ #[allow(deprecated)]
71
#[repr(C)]
72
$(#[$attr])*
73
pub union $i { $($field)* }
@@ -79,6 +80,7 @@ macro_rules! s {
79
80
);
81
(it: $(#[$attr:meta])* pub struct $i:ident { $($field:tt)* }) => (
82
83
84
85
86
pub struct $i { $($field)* }
0 commit comments