diff options
| author | flip1995 <hello@philkrones.com> | 2020-10-09 12:45:29 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2020-10-09 12:45:29 +0200 |
| commit | fbf2430f0279adb8132efe60b16f8dd7b6a2acb3 (patch) | |
| tree | 3e66912301876dca6c85f7a0dc9feb03d6cd1fbe /src | |
| parent | adb7fc6283711c881186ca85bb9ac3bb8add099b (diff) | |
| download | rust-fbf2430f0279adb8132efe60b16f8dd7b6a2acb3.tar.gz rust-fbf2430f0279adb8132efe60b16f8dd7b6a2acb3.zip | |
Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index f6d529de9a3..ce3d0efab3a 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -110,7 +110,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ }, Lint { name: "borrow_interior_mutable_const", - group: "correctness", + group: "style", desc: "referencing `const` with interior mutability", deprecation: None, module: "non_copy_const", @@ -334,7 +334,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ }, Lint { name: "declare_interior_mutable_const", - group: "correctness", + group: "style", desc: "declaring `const` with interior mutability", deprecation: None, module: "non_copy_const", @@ -382,6 +382,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ module: "derive", }, Lint { + name: "disallowed_method", + group: "nursery", + desc: "use of a disallowed method call", + deprecation: None, + module: "disallowed_method", + }, + Lint { name: "diverging_sub_expression", group: "complexity", desc: "whether an expression contains a diverging sub expression", @@ -886,6 +893,20 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ module: "attrs", }, Lint { + name: "inline_asm_x86_att_syntax", + group: "restriction", + desc: "prefer Intel x86 assembly syntax", + deprecation: None, + module: "asm_syntax", + }, + Lint { + name: "inline_asm_x86_intel_syntax", + group: "restriction", + desc: "prefer AT&T x86 assembly syntax", + deprecation: None, + module: "asm_syntax", + }, + Lint { name: "inline_fn_without_body", group: "correctness", desc: "use of `#[inline]` on trait methods without bodies", @@ -942,6 +963,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec