diff --git a/src/connectivity/lib/internet-checksum/src/lib.rs b/src/connectivity/lib/internet-checksum/src/lib.rs index 0a0b1b793136..d0100ed71551 100644 --- a/src/connectivity/lib/internet-checksum/src/lib.rs +++ b/src/connectivity/lib/internet-checksum/src/lib.rs @@ -161,8 +161,6 @@ type Accumulator = u64; // on other platforms. const SMALL_BUF_THRESHOLD: usize = 64; -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// The following macro unrolls operations on u16's to wider integers. /// /// # Arguments diff --git a/src/connectivity/lib/packet-formats/src/macros.rs b/src/connectivity/lib/packet-formats/src/macros.rs index ccef76678ba7..6af948e1a092 100644 --- a/src/connectivity/lib/packet-formats/src/macros.rs +++ b/src/connectivity/lib/packet-formats/src/macros.rs @@ -226,8 +226,6 @@ macro_rules! __create_protocol_enum_inner { }; } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// Create an enum representing a protocol number (such as IP protocol or /// EtherType). /// diff --git a/src/connectivity/lowpan/lib/spinel_pack/src/primitives.rs b/src/connectivity/lowpan/lib/spinel_pack/src/primitives.rs index cc835089561d..b0c84d8e8a9c 100644 --- a/src/connectivity/lowpan/lib/spinel_pack/src/primitives.rs +++ b/src/connectivity/lowpan/lib/spinel_pack/src/primitives.rs @@ -27,8 +27,6 @@ macro_rules! impl_try_array_owned_unpack_sized( } ); -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! impl_try_pack_unpack_as_data( (u8) => { // We skip u8. diff --git a/src/connectivity/network/netstack3/core/src/ip/gmp/mod.rs b/src/connectivity/network/netstack3/core/src/ip/gmp/mod.rs index d113455c2cf7..d5a13fc3147a 100644 --- a/src/connectivity/network/netstack3/core/src/ip/gmp/mod.rs +++ b/src/connectivity/network/netstack3/core/src/ip/gmp/mod.rs @@ -17,8 +17,6 @@ // This macro is used by tests in both the `igmp` and `mld` modules. -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// Assert that the GMP state machine for `$group` is in the given state. /// /// `$ctx` is a `context::testutil::DummyCtx` whose state contains a `groups: diff --git a/src/connectivity/network/netstack3/core/src/macros.rs b/src/connectivity/network/netstack3/core/src/macros.rs index c2c096bd201f..d38850f87138 100644 --- a/src/connectivity/network/netstack3/core/src/macros.rs +++ b/src/connectivity/network/netstack3/core/src/macros.rs @@ -4,8 +4,6 @@ //! Macros used in Netstack3. -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! log_unimplemented { ($nocrash:expr, $fmt:expr $(,$arg:expr)*) => {{ diff --git a/src/lib/cobalt/rust/src/sender.rs b/src/lib/cobalt/rust/src/sender.rs index 1251b0726334..e9657939ea65 100644 --- a/src/lib/cobalt/rust/src/sender.rs +++ b/src/lib/cobalt/rust/src/sender.rs @@ -16,8 +16,6 @@ use { }, }; -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! gen_comment { ($x:expr) => { #[doc = $x] diff --git a/src/lib/mundane/src/boringssl/abort.rs b/src/lib/mundane/src/boringssl/abort.rs index 98357598a43f..f37f1a9f9985 100644 --- a/src/lib/mundane/src/boringssl/abort.rs +++ b/src/lib/mundane/src/boringssl/abort.rs @@ -14,8 +14,6 @@ use std::fmt::Debug; -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! assert_abort { ($cond:expr) => ({ let cond = $cond; @@ -32,8 +30,6 @@ macro_rules! assert_abort { }); } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! assert_abort_eq { ($left:expr, $right:expr) => ({ match (&$left, &$right) { @@ -76,8 +72,6 @@ macro_rules! unreachable_abort { }}; } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! panic_abort { () => ({ panic_abort!("explicit panic") diff --git a/src/lib/mundane/src/boringssl/mod.rs b/src/lib/mundane/src/boringssl/mod.rs index 4373f844a1dd..8cecb78bfaed 100644 --- a/src/lib/mundane/src/boringssl/mod.rs +++ b/src/lib/mundane/src/boringssl/mod.rs @@ -798,8 +798,6 @@ pub fn rsa_verify_pss_mgf1( } } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// Implements `CStackWrapper` for a hash context type. /// /// The caller provides doc comments, a public method name, and a private diff --git a/src/lib/mundane/src/boringssl/wrapper.rs b/src/lib/mundane/src/boringssl/wrapper.rs index dded5a9df038..0d41c88eb5c8 100644 --- a/src/lib/mundane/src/boringssl/wrapper.rs +++ b/src/lib/mundane/src/boringssl/wrapper.rs @@ -20,8 +20,6 @@ macro_rules! sealed { }; } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! impl_traits { (@inner $name:ident, CNew => $fn:tt) => { c_new!($name, $fn); diff --git a/src/lib/storage/vfs/rust/src/path.rs b/src/lib/storage/vfs/rust/src/path.rs index 092158d52e88..7d0f37c52821 100644 --- a/src/lib/storage/vfs/rust/src/path.rs +++ b/src/lib/storage/vfs/rust/src/path.rs @@ -182,8 +182,6 @@ impl AsRef for Path { mod tests { use super::*; - #[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known - #[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable macro_rules! simple_construction_test { (path: $str:expr, $path:ident => $body:block) => { match Path::validate_and_split($str) { diff --git a/src/power/power-manager/src/types.rs b/src/power/power-manager/src/types.rs index 9845fb1c02db..f90b003631cd 100644 --- a/src/power/power-manager/src/types.rs +++ b/src/power/power-manager/src/types.rs @@ -50,8 +50,6 @@ macro_rules! define_float_unit { }; } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// Defines a measurement unit, with an underlying scalar type. macro_rules! define_unit { ( $unit_type:ident, f32 ) => { diff --git a/src/proc/bin/starnix/fs/fs_node.rs b/src/proc/bin/starnix/fs/fs_node.rs index 3a6d234652b9..fc32d154007a 100644 --- a/src/proc/bin/starnix/fs/fs_node.rs +++ b/src/proc/bin/starnix/fs/fs_node.rs @@ -234,8 +234,6 @@ macro_rules! fs_node_impl_symlink { }; } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// Implements [`FsNodeOps::set_xattr`] by delegating to another [`FsNodeOps`] /// object. macro_rules! fs_node_impl_xattr_delegate { diff --git a/src/proc/bin/starnix/mutable_state.rs b/src/proc/bin/starnix/mutable_state.rs index 9705db890d66..d054d1540a0f 100644 --- a/src/proc/bin/starnix/mutable_state.rs +++ b/src/proc/bin/starnix/mutable_state.rs @@ -275,8 +275,6 @@ impl<'a, B, S> ops::DerefMut for WritableState<'a, B, S> { } } -#[allow(unknown_lints)] // TODO(fxbug.dev/99424): remove this after toolchain roll when lint is known -#[allow(unused_macro_rules)] // TODO(fxbug.dev/100318): remove unused macro rules and re-enable /// This macro matches the methods inside a `state_implementation!` macro depending on their /// visibility and mutability so that the `state_implementation!` might dispatch these to the right /// trait or implementation.