Skip to content

Commit

Permalink
Allow needless_raw_string_hashes in tests
Browse files Browse the repository at this point in the history
Tests should get have extra hashes in their raw string literals.
  • Loading branch information
ridiculousfish committed Aug 25, 2023
1 parent f25d5dd commit 6513a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/pcre_tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// We like hashes around raw string literals.
#![allow(clippy::needless_raw_string_hashes)]

// Work around dead code warnings: rust-lang issue #46379
pub mod common;
use common::*;
Expand Down
3 changes: 3 additions & 0 deletions tests/tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// We like hashes around raw string literals.
#![allow(clippy::needless_raw_string_hashes)]

// Work around dead code warnings: rust-lang issue #46379
pub mod common;

Expand Down

0 comments on commit 6513a63

Please sign in to comment.