about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2020-04-04 12:58:18 -0700
committerDavid Tolnay <dtolnay@gmail.com>2020-04-04 12:58:18 -0700
commit560c8c9c701c0f84cdc725e00562c560b48dd0c2 (patch)
tree9488168000feff6dc40ad7998e231fc25e56a788 /src
parent7907abea272bbf97812683ce03a1ab9c22f0557b (diff)
downloadrust-560c8c9c701c0f84cdc725e00562c560b48dd0c2.tar.gz
rust-560c8c9c701c0f84cdc725e00562c560b48dd0c2.zip
Downgrade new_ret_no_self to pedantic
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 8a6d0af5f8a..0a565f4466f 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1447,7 +1447,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
     },
     Lint {
         name: "new_ret_no_self",
-        group: "style",
+        group: "pedantic",
         desc: "not returning `Self` in a `new` method",
         deprecation: None,
         module: "methods",