Fix unused attributes on macro_rules.
This commit is contained in:
parent
17f30e5451
commit
5bbc240ffb
4 changed files with 70 additions and 3 deletions
|
@ -6,7 +6,6 @@ use rustc_span::Symbol;
|
|||
use std::fmt;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[macro_use]
|
||||
macro_rules! def_reg_class {
|
||||
($arch:ident $arch_regclass:ident {
|
||||
$(
|
||||
|
@ -51,7 +50,6 @@ macro_rules! def_reg_class {
|
|||
}
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
macro_rules! def_regs {
|
||||
($arch:ident $arch_reg:ident $arch_regclass:ident {
|
||||
$(
|
||||
|
@ -129,7 +127,6 @@ macro_rules! def_regs {
|
|||
}
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
macro_rules! types {
|
||||
(
|
||||
$(_ : $($ty:expr),+;)?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue