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;
161
161
// on other platforms.
162
162
const SMALL_BUF_THRESHOLD : usize = 64 ;
163
163
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
166
164
/// The following macro unrolls operations on u16's to wider integers.
167
165
///
168
166
/// # Arguments
Original file line number Diff line number Diff line change @@ -226,8 +226,6 @@ macro_rules! __create_protocol_enum_inner {
226
226
} ;
227
227
}
228
228
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
231
229
/// Create an enum representing a protocol number (such as IP protocol or
232
230
/// EtherType).
233
231
///
Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ macro_rules! impl_try_array_owned_unpack_sized(
27
27
}
28
28
) ;
29
29
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
32
30
macro_rules! impl_try_pack_unpack_as_data(
33
31
( u8 ) => {
34
32
// We skip u8.
Original file line number Diff line number Diff line change 17
17
18
18
// This macro is used by tests in both the `igmp` and `mld` modules.
19
19
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
22
20
/// Assert that the GMP state machine for `$group` is in the given state.
23
21
///
24
22
/// `$ctx` is a `context::testutil::DummyCtx` whose state contains a `groups:
Original file line number Diff line number Diff line change 4
4
5
5
//! Macros used in Netstack3.
6
6
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
9
7
macro_rules! log_unimplemented {
10
8
( $nocrash: expr, $fmt: expr $( , $arg: expr) * ) => { {
11
9
Original file line number Diff line number Diff line change 16
16
} ,
17
17
} ;
18
18
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
21
19
macro_rules! gen_comment {
22
20
( $x: expr) => {
23
21
#[ doc = $x]
Original file line number Diff line number Diff line change 14
14
15
15
use std:: fmt:: Debug ;
16
16
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
19
17
macro_rules! assert_abort {
20
18
( $cond: expr) => ( {
21
19
let cond = $cond;
@@ -32,8 +30,6 @@ macro_rules! assert_abort {
32
30
} ) ;
33
31
}
34
32
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
37
33
macro_rules! assert_abort_eq {
38
34
( $left: expr, $right: expr) => ( {
39
35
match ( & $left, & $right) {
@@ -76,8 +72,6 @@ macro_rules! unreachable_abort {
76
72
} } ;
77
73
}
78
74
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
81
75
macro_rules! panic_abort {
82
76
( ) => ( {
83
77
panic_abort!( "explicit panic" )
Original file line number Diff line number Diff line change @@ -798,8 +798,6 @@ pub fn rsa_verify_pss_mgf1(
798
798
}
799
799
}
800
800
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
803
801
/// Implements `CStackWrapper` for a hash context type.
804
802
///
805
803
/// 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 {
20
20
} ;
21
21
}
22
22
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
25
23
macro_rules! impl_traits {
26
24
( @inner $name: ident, CNew => $fn: tt) => {
27
25
c_new!( $name, $fn) ;
Original file line number Diff line number Diff line change @@ -182,8 +182,6 @@ impl AsRef<str> for Path {
182
182
mod tests {
183
183
use super :: * ;
184
184
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
187
185
macro_rules! simple_construction_test {
188
186
( path: $str: expr, $path: ident => $body: block) => {
189
187
match Path :: validate_and_split( $str) {
You can’t perform that action at this time.
0 commit comments