mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git
parsers: allow all macro_rules! macros to be dead code
This helps the transition to using the derive macros, because we do not have to remove the macro at the exact commit where it stops being used. That gives us more flexibility about the order in which the MRs transitioning the various modules are merged.
This commit is contained in:
parent
4374cabf44
commit
381cd40137
|
@ -3,6 +3,12 @@
|
|||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#![allow(unused_macros)]
|
||||
// ^ This helps the transition to using the derive macros, because we do not
|
||||
// have to remove the macro at the exact commit where it stops being used.
|
||||
// That gives us more flexibility about the order in which the MRs
|
||||
// transitioning the various modules are merged.
|
||||
// TODO: remove the above once the transition is done.
|
||||
|
||||
macro_rules! get_attr {
|
||||
($elem:ident, $attr:tt, $type:tt) => {
|
||||
|
|
Loading…
Reference in New Issue