Skip to content

Commit

Permalink
[rust] allow unused-macro-rules to unblock toolchain roll
Browse files Browse the repository at this point in the history
Bug: 100318
Change-Id: Ided9428282c66e63cda934a5f456223750703179
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/679506
Reviewed-by: Joseph Ryan <[email protected]>
Fuchsia-Auto-Submit: Dan Johnson <[email protected]>
Reviewed-by: Tyler Mandry <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
  • Loading branch information
ComputerDruid authored and Commit Bot committed May 13, 2022
1 parent d401b31 commit 5909ed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/storage/vfs/rust/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ impl AsRef<str> 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) {
Expand Down

0 comments on commit 5909ed0

Please sign in to comment.