Rollup merge of #97009 - fortanix:raoul/unused_macro_sgx, r=thomcc
Allow `unused_macro_rules` in path tests PR #96150 adds a new lint to warn about unused macro rules (arms/matchers). This causes errors in `library/std/src/path/tests.rs` on the `x86_64-fortanix-unknown-sgx` platform. This PR fixes compilation errors on that platform by allowing unused macro rules.
This commit is contained in:
commit
17eebcd4c3
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ use crate::rc::Rc;
|
|||
use crate::sync::Arc;
|
||||
use core::hint::black_box;
|
||||
|
||||
#[allow(unknown_lints, unused_macro_rules)]
|
||||
macro_rules! t (
|
||||
($path:expr, iter: $iter:expr) => (
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue