about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduardo Broto <ebroto@tutanota.com>2020-06-03 01:13:57 +0200
committerEduardo Broto <ebroto@tutanota.com>2020-06-07 20:53:38 +0200
commitdc13016ac2df1ce2663660389409b15eb2cf7e40 (patch)
treeaa75a0caeb4a235d4ab59895a11f7e89591dd037 /src
parent67ec96c8f97ae810f72ccc08c8bf0c371ff11305 (diff)
Make let_and_return a late lint pass
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 d5d07ccb2eb..bb191f9be92 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1023,7 +1023,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
         group: "style",
         desc: "creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block",
         deprecation: None,
-        module: "returns",
+        module: "let_and_return",
     },
     Lint {
         name: "let_underscore_lock",