about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorThibsG <Thibs@debian.com>2020-01-05 15:05:16 +0100
committerThibsG <Thibs@debian.com>2020-01-07 18:48:16 +0100
commit8ae8b08e323b7dcfad331af18bebbeb68757a904 (patch)
tree96e9a3177187d4ebcf5237a5487c5c86612095d5 /src
parent58deaad42d2986154303647dbc005133aaf3ab92 (diff)
downloadrust-8ae8b08e323b7dcfad331af18bebbeb68757a904.tar.gz
rust-8ae8b08e323b7dcfad331af18bebbeb68757a904.zip
Change lint name to WILDCARD_IN_OR_PATTERNS
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 34bf4749d83..399f3483a59 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1569,13 +1569,6 @@ pub const ALL_LINTS: [Lint; 345] = [
         module: "path_buf_push_overwrite",
     },
     Lint {
-        name: "pats_with_wild_match_arm",
-        group: "complexity",
-        desc: "a wildcard pattern used with others patterns in same match arm",
-        deprecation: None,
-        module: "matches",
-    },
-    Lint {
         name: "possible_missing_comma",
         group: "correctness",
         desc: "possible missing comma in array",
@@ -2353,6 +2346,13 @@ pub const ALL_LINTS: [Lint; 345] = [
         module: "matches",
     },
     Lint {
+        name: "wildcard_in_or_patterns",
+        group: "complexity",
+        desc: "a wildcard pattern used with others patterns in same match arm",
+        deprecation: None,
+        module: "matches",
+    },
+    Lint {
         name: "write_literal",
         group: "style",
         desc: "writing a literal with a format string",