File tree Expand file tree Collapse file tree 13 files changed +30
-0
lines changed
lowpan/lib/spinel_pack/src
network/netstack3/core/src Expand file tree Collapse file tree 13 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ type Accumulator = u64;
161161// on other platforms.
162162const SMALL_BUF_THRESHOLD : usize = 64 ;
163163
164+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
165+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
164166/// The following macro unrolls operations on u16's to wider integers.
165167///
166168/// # Arguments
Original file line number Diff line number Diff line change @@ -226,6 +226,8 @@ macro_rules! __create_protocol_enum_inner {
226226 } ;
227227}
228228
229+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
230+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
229231/// Create an enum representing a protocol number (such as IP protocol or
230232/// EtherType).
231233///
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ macro_rules! impl_try_array_owned_unpack_sized(
2727 }
2828) ;
2929
30+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
31+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
3032macro_rules! impl_try_pack_unpack_as_data(
3133 ( u8 ) => {
3234 // We skip u8.
Original file line number Diff line number Diff line change 1717
1818// This macro is used by tests in both the `igmp` and `mld` modules.
1919
20+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
21+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
2022/// Assert that the GMP state machine for `$group` is in the given state.
2123///
2224/// `$ctx` is a `context::testutil::DummyCtx` whose state contains a `groups:
Original file line number Diff line number Diff line change 44
55//! Macros used in Netstack3.
66
7+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
8+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
79macro_rules! log_unimplemented {
810 ( $nocrash: expr, $fmt: expr $( , $arg: expr) * ) => { {
911
Original file line number Diff line number Diff line change 1616 } ,
1717} ;
1818
19+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
20+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
1921macro_rules! gen_comment {
2022 ( $x: expr) => {
2123 #[ doc = $x]
Original file line number Diff line number Diff line change 1414
1515use std:: fmt:: Debug ;
1616
17+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
18+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
1719macro_rules! assert_abort {
1820 ( $cond: expr) => ( {
1921 let cond = $cond;
@@ -30,6 +32,8 @@ macro_rules! assert_abort {
3032 } ) ;
3133}
3234
35+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
36+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
3337macro_rules! assert_abort_eq {
3438 ( $left: expr, $right: expr) => ( {
3539 match ( & $left, & $right) {
@@ -72,6 +76,8 @@ macro_rules! unreachable_abort {
7276 } } ;
7377}
7478
79+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
80+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
7581macro_rules! panic_abort {
7682 ( ) => ( {
7783 panic_abort!( "explicit panic" )
Original file line number Diff line number Diff line change @@ -798,6 +798,8 @@ pub fn rsa_verify_pss_mgf1(
798798 }
799799}
800800
801+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
802+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
801803/// Implements `CStackWrapper` for a hash context type.
802804///
803805/// The caller provides doc comments, a public method name, and a private
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ macro_rules! sealed {
2020 } ;
2121}
2222
23+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
24+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
2325macro_rules! impl_traits {
2426 ( @inner $name: ident, CNew => $fn: tt) => {
2527 c_new!( $name, $fn) ;
Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ impl AsRef<str> for Path {
182182mod tests {
183183 use super :: * ;
184184
185+ #[ allow( unknown_lints) ] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known
186+ #[ allow( unused_macro_rules) ] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable
185187 macro_rules! simple_construction_test {
186188 ( path: $str: expr, $path: ident => $body: block) => {
187189 match Path :: validate_and_split( $str) {
You can’t perform that action at this time.
0 commit comments