Allow unused rules in some places in the compiler, library and tools
This commit is contained in:
parent
0bd2232fe4
commit
5646e9a172
4 changed files with 6 additions and 4 deletions
|
@ -816,6 +816,7 @@ fn generic_simd_intrinsic<'ll, 'tcx>(
|
|||
span: Span,
|
||||
) -> Result<&'ll Value, ()> {
|
||||
// macros for error handling:
|
||||
#[cfg_attr(not(bootstrap), allow(unused_macro_rules))]
|
||||
macro_rules! emit_error {
|
||||
($msg: tt) => {
|
||||
emit_error!($msg, )
|
||||
|
@ -1144,6 +1145,7 @@ fn generic_simd_intrinsic<'ll, 'tcx>(
|
|||
span: Span,
|
||||
args: &[OperandRef<'tcx, &'ll Value>],
|
||||
) -> Result<&'ll Value, ()> {
|
||||
#[cfg_attr(not(bootstrap), allow(unused_macro_rules))]
|
||||
macro_rules! emit_error {
|
||||
($msg: tt) => {
|
||||
emit_error!($msg, )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue