File tree Expand file tree Collapse file tree 13 files changed +0
-30
lines changed
lowpan/lib/spinel_pack/src
network/netstack3/core/src Expand file tree Collapse file tree 13 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ 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
166164/// The following macro unrolls operations on u16's to wider integers.
167165///
168166/// # Arguments
Original file line number Diff line number Diff line change @@ -226,8 +226,6 @@ 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
231229/// Create an enum representing a protocol number (such as IP protocol or
232230/// EtherType).
233231///
Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ 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
3230macro_rules! impl_try_pack_unpack_as_data(
3331 ( u8 ) => {
3432 // 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
2220/// Assert that the GMP state machine for `$group` is in the given state.
2321///
2422/// `$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
97macro_rules! log_unimplemented {
108 ( $nocrash: expr, $fmt: expr $( , $arg: expr) * ) => { {
119
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
2119macro_rules! gen_comment {
2220 ( $x: expr) => {
2321 #[ 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
1917macro_rules! assert_abort {
2018 ( $cond: expr) => ( {
2119 let cond = $cond;
@@ -32,8 +30,6 @@ macro_rules! assert_abort {
3230 } ) ;
3331}
3432
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
3733macro_rules! assert_abort_eq {
3834 ( $left: expr, $right: expr) => ( {
3935 match ( & $left, & $right) {
@@ -76,8 +72,6 @@ macro_rules! unreachable_abort {
7672 } } ;
7773}
7874
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
8175macro_rules! panic_abort {
8276 ( ) => ( {
8377 panic_abort!( "explicit panic" )
Original file line number Diff line number Diff line change @@ -798,8 +798,6 @@ 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
803801/// Implements `CStackWrapper` for a hash context type.
804802///
805803/// The caller provides doc comments, a public method name, and a private
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ 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
2523macro_rules! impl_traits {
2624 ( @inner $name: ident, CNew => $fn: tt) => {
2725 c_new!( $name, $fn) ;
Original file line number Diff line number Diff line change @@ -182,8 +182,6 @@ 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
187185 macro_rules! simple_construction_test {
188186 ( path: $str: expr, $path: ident => $body: block) => {
189187 match Path :: validate_and_split( $str) {
You can’t perform that action at this time.
0 commit comments