summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/lint_message_convention.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/lint_message_convention.rs')
-rw-r--r--src/tools/clippy/tests/lint_message_convention.rs30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tools/clippy/tests/lint_message_convention.rs b/src/tools/clippy/tests/lint_message_convention.rs
index 8feea800f..15e5cdd69 100644
--- a/src/tools/clippy/tests/lint_message_convention.rs
+++ b/src/tools/clippy/tests/lint_message_convention.rs
@@ -20,16 +20,16 @@ impl Message {
// also no punctuation (except for "?" ?) at the end of a line
static REGEX_SET: LazyLock<RegexSet> = LazyLock::new(|| {
RegexSet::new([
- r"error: [A-Z]",
- r"help: [A-Z]",
- r"warning: [A-Z]",
- r"note: [A-Z]",
- r"try this: [A-Z]",
- r"error: .*[.!]$",
- r"help: .*[.!]$",
- r"warning: .*[.!]$",
- r"note: .*[.!]$",
- r"try this: .*[.!]$",
+ "error: [A-Z]",
+ "help: [A-Z]",
+ "warning: [A-Z]",
+ "note: [A-Z]",
+ "try this: [A-Z]",
+ "error: .*[.!]$",
+ "help: .*[.!]$",
+ "warning: .*[.!]$",
+ "note: .*[.!]$",
+ "try this: .*[.!]$",
])
.unwrap()
});
@@ -39,11 +39,11 @@ impl Message {
static EXCEPTIONS_SET: LazyLock<RegexSet> = LazyLock::new(|| {
RegexSet::new([
r"\.\.\.$",
- r".*C-like enum variant discriminant is not portable to 32-bit targets",
- r".*Intel x86 assembly syntax used",
- r".*AT&T x86 assembly syntax used",
- r"note: Clippy version: .*",
- r"the compiler unexpectedly panicked. this is a bug.",
+ ".*C-like enum variant discriminant is not portable to 32-bit targets",
+ ".*Intel x86 assembly syntax used",
+ ".*AT&T x86 assembly syntax used",
+ "note: Clippy version: .*",
+ "the compiler unexpectedly panicked. this is a bug.",
])
.unwrap()
});