mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-27 09:50:41 +00:00
189c60c649
warning: 2nd rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:44:5 | 44 | (($($expr:tt)*) as $t:ty, @$snapshot:literal) => {{ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_macro_rules)]` on by default warning: 1st rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:37:5 | 37 | (($expr:ident) as $t:ty, @$snapshot:literal) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 3rd rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:52:5 | 52 | (($($expr:tt)*) , @$snapshot:literal) => {{ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 2nd rule of macro `spanless_eq_enum` is never used --> tests/common/eq.rs:225:5 | 225 | / { 226 | | $($name:ident)::+; 227 | | $([$($variant:ident)::+; $($fields:tt)*])* 228 | | $next:ident [$([$($named:tt)*])* $(![$ignore:tt])*] (!$i:tt $($field:tt)*) 229 | | $($rest:tt)* 230 | | } => { | |_____^ | = note: `#[warn(unused_macro_rules)]` on by default |
||
---|---|---|
.. | ||
mod.rs |