From 765852b8025b8d28b4ee74724e188d2e99fd72cf Mon Sep 17 00:00:00 2001 From: Dan Johnson Date: Tue, 17 May 2022 00:10:50 +0000 Subject: [PATCH] Revert "[rust] allow unused-macro-rules to unblock toolchain roll" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5909ed077ceea9687edd61d852b2406ce38dda7c. Reason for revert: lint is allow-by-default after https://github.com/rust-lang/rust/pull/97032 Original change's description: > [rust] allow unused-macro-rules to unblock toolchain roll > > Bug: 100318 > Change-Id: Ided9428282c66e63cda934a5f456223750703179 > Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/679506 > Reviewed-by: Joseph Ryan > Fuchsia-Auto-Submit: Dan Johnson > Reviewed-by: Tyler Mandry > Commit-Queue: Auto-Submit Bug: 100318 Change-Id: I2ebf0b0e9c9e28d8a2588fc92dfe7428c77ca4cf Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/679988 Reviewed-by: RubberStamper 🤖 Commit-Queue: Dan Johnson Reviewed-by: Joseph Ryan --- src/lib/storage/vfs/rust/src/path.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/storage/vfs/rust/src/path.rs b/src/lib/storage/vfs/rust/src/path.rs index 092158d..7d0f37c 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) {