diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2020-04-17 10:26:58 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2020-04-17 10:26:58 +0900 |
| commit | 162cf261dc1874ec1b7b684b3fd6193c2c8460be (patch) | |
| tree | 22d3e8a29ee44c5e321e7e5c4d1154867e96f1bd | |
| parent | eb9c15a6b38d6b1a64f7e6a1360d533014c0e797 (diff) | |
| download | rust-162cf261dc1874ec1b7b684b3fd6193c2c8460be.tar.gz rust-162cf261dc1874ec1b7b684b3fd6193c2c8460be.zip | |
unit_arg suggestion may be incorrect
| -rw-r--r-- | clippy_lints/src/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 14f4ea154eb..09d5e6bd43d 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -786,7 +786,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnitArg { "passing a unit value to a function", "if you intended to pass a unit value, use a unit literal instead", "()".to_string(), - Applicability::MachineApplicable, + Applicability::MaybeIncorrect, ); } } |
